tag:blogger.com,1999:blog-34754078674765043312026-04-14T00:30:50.320-07:00On Clouds, Poems, Python and more..."Happy is the man who knows the causes of things."Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.comBlogger55125tag:blogger.com,1999:blog-3475407867476504331.post-85957427705332059242013-06-30T09:39:00.000-07:002013-06-30T09:39:14.700-07:00Google Reader is dead!Google has finally pulled the plug on the Reader. It is time to move on another feed reader. In the meantime, here is the last screenshot from the Trends page:<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXNdwG1OoexHlLUUbeJ4f6_LnF3xQBWdIJKJ2QFertxsJVueCxjwPt2ajVxVB9AmtLHxkby8wK0vdPljlBrroCOtCq-WB15SwSVL9zMH2I3yL_RN8CEKBol1aBPmjouLW8ZltEjyQdEGI/s1600/myreader.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="301" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXNdwG1OoexHlLUUbeJ4f6_LnF3xQBWdIJKJ2QFertxsJVueCxjwPt2ajVxVB9AmtLHxkby8wK0vdPljlBrroCOtCq-WB15SwSVL9zMH2I3yL_RN8CEKBol1aBPmjouLW8ZltEjyQdEGI/s640/myreader.png" width="640" /></a></div>
<br />
More than 45k read items since October 2008. Looking forward 450k more to read :)<br />
<br />
Thanks to Mihai Parparita's Python scripts I archived all there is to archive from the Reader.<br />
<br />
Happy news reading!!!Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com0tag:blogger.com,1999:blog-3475407867476504331.post-74028323505239510132012-11-07T13:01:00.000-08:002012-11-07T13:01:35.682-08:00Issues with GDL Python module<br />
<div>
<br /></div>
<div>
1-) Importing GDL segfaults in IPython</div>
<div>
<br /></div>
<div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">$ ii # this is alias for ipython --pylab</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">Python 2.7, IPython 0.14.dev</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">I1 import GDL</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;">I2 Segmentation fault (core dumped)</span></div>
</div>
<div>
<br /></div>
<div>
however, works fine in Python shell</div>
<div>
<br /></div>
<div>
<div>
<span style="font-size: x-small;">>>> import GDL</span></div>
<div>
<span style="font-size: x-small;">>>> GDL.findgen(5)</span></div>
</div>
<div>
<span style="font-size: x-small;"><br /></span></div>
<div>
<div>
<span style="font-size: x-small;">>>> GDL.function('findgen',5)</span></div>
<div>
<span style="font-size: x-small;">array([ 0., 1., 2., 3., 4.], dtype=float32)</span></div>
</div>
<div>
<br /></div>
<div>
possibly readline module issue? Interestingly, works fine in Spyder's IPython console.</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
2-) Source compiled (with --enable-python_module option) GDL Python module fails to work</div>
<div>
<br /></div>
<div>
<span style="font-size: x-small;"><span style="color: #222222; font-family: arial, sans-serif;"> </span>>>> import GDL</span></div>
<div>
<span style="font-size: x-small;">Traceback (most recent call last):</span></div>
<div>
<span style="font-size: x-small;"> File "<stdin>", line 1, in <module></module></stdin></span></div>
<div>
<span style="font-size: x-small;">ImportError: ./GDL.so: invalid ELF header</span></div>
<div>
<span style="font-size: x-small;"><br /></span></div>
<span style="background-color: white;">possibly, due to wrong lib arch use, during compilation?</span><div>
<span style="font-size: x-small;"><br /></span></div>
<div>
<span style="font-size: x-small;"><br /></span></div>
<span style="background-color: white;">3-) GDL's dindgen yields wrong result while accessed through its Python module</span><div>
<span style="font-size: x-small;"><br /></span></div>
<div>
<span style="font-size: x-small;"><div>
>>> GDL.function('dindgen',10)</div>
<div>
array([ 0.00000000e+000, 1.00000000e+000, 2.00000000e+000,</div>
<div>
3.00000000e+000, 4.00000000e+000, 0.00000000e+000,</div>
<div>
5.92878775e-323, 3.30571061e-313, 6.94380683e-310,</div>
<div>
4.03179200e-313])</div>
<div>
<br /></div>
</span>Posted this issue on <a href="http://sourceforge.net/projects/gnudatalanguage/forums/forum/338692/topic/6127822">dindgen with GDL python module</a></div>
<div>
<br /></div>
Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com0tag:blogger.com,1999:blog-3475407867476504331.post-24968134374910429022012-11-07T12:57:00.001-08:002012-11-07T12:57:45.521-08:00Calling IDL, GDL, and FL from Python<div>
<br /></div>
<b>Thanks to Anthony Smith's <a href="http://astronomy.sussex.ac.uk/~anthonys/pidly/" target="_blank">pIDLy</a> module, accessing <a href="http://www.exelisvis.com/ProductsServices/IDL.aspx" target="_blank">IDL</a>, and its clones <a href="http://gnudatalanguage.sourceforge.net/" target="_blank">GDL</a> and <a href="http://fl.net23.net/" target="_blank">FL</a> from within Python becomes really easy. </b><div>
<b><br /></b></div>
<div>
<b>Launch an IPython session, then typing these example lines to see pidly in action:</b></div>
<div>
<br /></div>
<div>
<div style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 13px;">
<div>
I1 import pidly</div>
<div>
I2 idl = pidly.IDL()</div>
<div>
I3 fl = pidly.IDL('fl', idl_prompt='FL> ')</div>
<div>
I4 gdl = pidly.IDL('gdl', idl_prompt='GDL> ')</div>
<div>
I5 idl.findgen(10)</div>
<div>
O5 array([ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9.], dtype=float32)</div>
<div>
I6 fl.findgen(10)</div>
<div>
O6 array([ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9.], dtype=float32)</div>
<div>
I7 gdl.findgen(10)</div>
<div>
O7 array([ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9.], dtype=float32)</div>
</div>
<div style="background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 13px;">
I8 np.arange(10, dtype='float32')</div>
<div style="background-color: white;">
<div style="color: #222222; font-family: arial, sans-serif; font-size: 13px;">
O8 array([ 0., 1., 2., 3., 4., 5., 6., 7., 8., 9.], dtype=float32)</div>
<div style="color: #222222; font-family: arial, sans-serif; font-size: 13px;">
<br /></div>
<b>Testing these with:</b><div style="color: #222222; font-family: arial, sans-serif; font-size: 13px;">
<br /></div>
<div style="color: #222222;">
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">I2 pidly.__version__</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">O2 '0.2.4+'</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">I3 np.__version__</span></div>
<div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">O3 '1.8.0.dev-82c0bb8'</span></div>
</div>
</div>
<div style="color: #222222;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div style="color: #222222;">
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">$ idl</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">IDL Version 8.1 (linux x86_64 m64). (c) 2011, ITT Visual Information Solutions</span></div>
</div>
<div style="color: #222222;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<div>
<span style="color: #222222; font-family: Arial, Helvetica, sans-serif;">$ gdl # the version that ships with Fedora 16</span></div>
<div>
<span style="color: #222222;"><span style="font-family: Arial, Helvetica, sans-serif;">GDL - GNU Data Language, Version 0.9.2</span></span></div>
</div>
<div style="color: #222222;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><span style="color: #222222;">$ fl # </span>latest development snapshot (10/Oct/2012)</span></div>
<div>
<span style="color: #222222;"><span style="font-family: Arial, Helvetica, sans-serif;">Fawlty Language 0.79.18 (linux amd64 m64) Copyright (c) 2000-2012</span></span></div>
</div>
<div>
<span style="color: #222222; font-family: arial, sans-serif; font-size: x-small;"><br /></span></div>
<div>
<span style="color: #222222; font-family: arial, sans-serif; font-size: x-small;"><br /></span></div>
<b>Example access to an IDL procedure:</b><div>
<span style="color: #222222; font-family: arial, sans-serif; font-size: x-small;"><br /></span></div>
<div>
<span style="color: #222222;"><div>
<span style="font-family: Arial, Helvetica, sans-serif;">I5 idl.pro('cgplot', np.sin(np.linspace(0, 6*np.pi, 1000)))</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">I6 idl.pro('iplot', np.sin(np.linspace(0, 6*np.pi, 1000)))</span></div>
<div style="font-family: arial, sans-serif; font-size: small;">
<br /></div>
</span><b>For more information, just read the quick usage guide on pidly's web-site, or clone the source from <a href="https://github.com/anthonyjsmith/pIDLy">https://github.com/anthonyjsmith/pIDLy</a></b></div>
</div>
</div>
Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com0tag:blogger.com,1999:blog-3475407867476504331.post-79635885593111320952012-11-07T09:57:00.002-08:002012-11-07T13:01:14.224-08:00Worldcloud for ccnworksHere is a worldcloud created for my code repository on:<br />
<br />
<a href="http://code.google.com/p/ccnworks/" target="_blank">http://code.google.com/p/ccnworks/</a><br />
<br />
First get the commit message history into a text file (the last commit is r287):<br />
<br />
<b>svn log >> test.txt</b><br />
<br />
Then with a bit of VIM trick and manual step, remove unwanted lines:<br />
<br />
<b>sort u</b><br />
<br />
<br />
Select of all the text, and import into<br />
<br />
<a href="http://www.wordle.net/create" target="_blank">http://www.wordle.net/create</a><br />
<br />
Tadaaa, here comes the result :)<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAZ8UbiXsTVHe9vnG3qr-ZRCvSD_e8BcQ-f5qRvtlM2JqALxJSsUap573il_On02kOZtGEOkhBDLAA0kn6ehIbVHzqsUsfrdK9mJdp9SEK9RTt40WWwqxFdzsactdcEzgaijEBhR4ib9A/s1600/wordle_ccnworks.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="338" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAZ8UbiXsTVHe9vnG3qr-ZRCvSD_e8BcQ-f5qRvtlM2JqALxJSsUap573il_On02kOZtGEOkhBDLAA0kn6ehIbVHzqsUsfrdK9mJdp9SEK9RTt40WWwqxFdzsactdcEzgaijEBhR4ib9A/s640/wordle_ccnworks.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div style="text-align: center;">
Indeed, we are data scientists here in atmospheric science!<br />
<br />
<br />
<div style="text-align: left;">
Alternative wordcloud implementation comes from Andreas Mueller. I saw his <a href="http://peekaboo-vision.blogspot.com/2012/11/a-wordcloud-in-python.html" style="text-align: center;" target="_blank">A Wordcloud in Python</a> titled posting via <a href="http://swc.scipy.org/" target="_blank">Planet SciPy</a>. In order to run his wordcloud.py I needed to change unsigned int[:,:] integral_image -> unsigned long[:,:] integral_image in query_integral_image.pyx to get past 'ValueError: Buffer dtype mismatch, expected 'unsigned int' but got 'unsigned long''.<br />
<br /></div>
<div style="text-align: left;">
Then feeding the same log data I get the following image, which is nicer looking than the wordle's image :)</div>
<div style="text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkJdYqVtMKJs-eMj8-i7qYOebgOntQ9-4acxNgoSt_xs1ztYY-PckpaxX6fdLha88lw-UVDbfX8vOhVHs1zwmsMD_2t6A4m69WOElBLNzhhwlXNHZsRR18EUUwsoXbkO8zSQfSLVHMPUE/s1600/wordcloud2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="480" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkJdYqVtMKJs-eMj8-i7qYOebgOntQ9-4acxNgoSt_xs1ztYY-PckpaxX6fdLha88lw-UVDbfX8vOhVHs1zwmsMD_2t6A4m69WOElBLNzhhwlXNHZsRR18EUUwsoXbkO8zSQfSLVHMPUE/s640/wordcloud2.png" width="640" /></a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: left;">
<br /></div>
</div>
Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com1tag:blogger.com,1999:blog-3475407867476504331.post-14094213504964970472012-02-11T15:13:00.000-08:002012-02-11T15:13:53.644-08:00Python videos<div style="font-family: Verdana; font-size: 13px; margin-bottom: 0px; margin-top: 0px;"><b># from AMS</b></div><b style="font-family: Verdana; font-size: 13px;"><br />
</b><div style="font-family: Verdana; font-size: 13px; margin-bottom: 0px; margin-top: 0px;"><a href="http://ams.confex.com/ams/91Annual/webprogram/Paper187518.html" style="color: #551a8b;">Reading, writing and visualizing GRIB and netCDF data with Python (invited) (91st American Meteorological Society Annual Meeting)</a></div><br style="font-family: Verdana; font-size: 13px;" /><div style="font-family: Verdana; font-size: 13px; margin-bottom: 0px; margin-top: 0px;"><a href="http://ams.confex.com/ams/91Annual/webprogram/Paper185405.html" style="color: #551a8b;">Porting radar simulation software to Python: a case study in the benefits of Python (91st American Meteorological Society Annual Meeting)</a></div><br style="font-family: Verdana; font-size: 13px;" /><div style="font-family: Verdana; font-size: 13px; margin-bottom: 0px; margin-top: 0px;"><a href="http://ams.confex.com/ams/91Annual/webprogram/Paper186375.html" style="color: #551a8b;">WxMAP2—a python-based system for model diagnosis and weather forecast tool development (91st American Meteorological Society Annual Meeting)</a></div><br style="font-family: Verdana; font-size: 13px;" /><div style="font-family: Verdana; font-size: 13px; margin-bottom: 0px; margin-top: 0px;"><a href="http://ams.confex.com/ams/91Annual/webprogram/Paper178759.html" style="color: #551a8b;">Using CDAT for model development and analysis of large data sets (invited) (91st American Meteorological Society Annual Meeting)</a></div><br style="font-family: Verdana; font-size: 13px;" /><div style="font-family: Verdana; font-size: 13px; margin-bottom: 0px; margin-top: 0px;"><a href="http://ams.confex.com/ams/91Annual/webprogram/Paper187517.html" style="color: #551a8b;">Community Tools for the Analysis and Visualization of Geoscientific Data (invited) (91st American Meteorological Society Annual Meeting)</a></div><br style="font-family: Verdana; font-size: 13px;" /><div style="font-family: Verdana; font-size: 13px; margin-bottom: 0px; margin-top: 0px;"><a href="http://ams.confex.com/ams/91Annual/webprogram/Paper178187.html" style="color: #551a8b;">DV3D: 3D Climate data visualization using python and VTK (91st American Meteorological Society Annual Meeting)</a></div><b style="font-family: Verdana; font-size: 13px;"><br />
</b><div style="font-family: Verdana; font-size: 13px; margin-bottom: 0px; margin-top: 0px;"><a href="http://ams.confex.com/ams/91Annual/webprogram/Paper180728.html" style="color: #551a8b;">HootPy: A Console-Based Processing and Visualization Package for Meteorological Models and Observations (91st American Meteorological Society Annual Meeting)</a></div><br style="font-family: Verdana; font-size: 13px;" /><div style="font-family: Verdana; font-size: 13px; margin-bottom: 0px; margin-top: 0px;"><a href="http://ams.confex.com/ams/91Annual/webprogram/Paper178708.html" style="color: #551a8b;">Python Adoption at the Naval Research Laboratory (91st American Meteorological Society Annual Meeting)</a></div><div style="font-family: Verdana; font-size: 13px; margin-bottom: 0px; margin-top: 0px;"><br />
</div><div style="font-family: Verdana; font-size: 13px; margin-bottom: 0px; margin-top: 0px;"><br />
</div><div style="font-family: Verdana; font-size: 13px; margin-bottom: 0px; margin-top: 0px;"><b># PyCon10 Videos</b></div><div style="font-family: Verdana; font-size: 13px; margin-bottom: 0px; margin-top: 0px;"><br />
<a href="http://blip.tv/file/1957086" style="color: #551a8b;">Introduction to Python Profiling</a><br />
<a href="http://pycon.blip.tv/file/3257275" style="color: #551a8b;"></a></div><div style="font-family: Verdana; font-size: 13px; margin-bottom: 0px; margin-top: 0px;"><a href="http://pycon.blip.tv/file/3257275" style="color: #551a8b;">PyCon 2010:Python's Dusty Corners (#182)</a><br />
<a href="http://pycon.blip.tv/file/3332784" style="color: #551a8b;"></a><a href="http://blip.tv/file/3332807/" style="color: #551a8b;">PyCon 2010:Keynote: Relentlessly Pursuing Opportunities With Python, or why the AIs will Spare Us Al</a><br />
<a href="http://pycon.blip.tv/file/3332763" style="color: #551a8b;">PyCon 2010:The Mighty Dictionary (#55)</a><br />
<a href="http://pycon.blip.tv/file/3332776" style="color: #551a8b;">PyCon 2010:Keynote: State of CPython</a><br />
<a href="http://blip.tv/file/3259777" style="color: #551a8b;">PyCon 2010:Deconstruction of an Object (#62)</a><br />
<a href="http://blip.tv/file/3259840" style="color: #551a8b;">The Ring of Python (#189)</a><br />
<a href="http://pycon.blip.tv/file/3261216/" style="color: #551a8b;">Debating 'til Dawn: Topics to keep you up all night (#183)</a></div><div style="font-family: Verdana; font-size: 13px; margin-bottom: 0px; margin-top: 0px;"><br />
<br />
<b># PyCon2009 videos</b><br />
<br />
<a href="http://blip.tv/file/2061520" style="color: #551a8b;">Eggs and Buildout Deployment in Python (Part 001)</a><br />
<a href="http://pycon.blip.tv/file/2061678/" style="color: #551a8b;">Eggs and Buildout Deployment in Python (Part 002)</a><br />
<a href="http://pycon.blip.tv/file/2061724/" style="color: #551a8b;">Eggs and Buildout Deployment in Python (Part 003)</a><br />
<br />
<a href="http://us.pycon.org/2009/conference/schedule/event/15/" style="color: #551a8b;">Introduction to Python Profiling</a><br />
<a href="http://blip.tv/file/1949648" style="color: #551a8b;">Leveraging ReStructuredText in your Projects</a><br />
<a href="http://pycon.blip.tv/" style="color: #551a8b;">The State of the Python Community: Leading the Python tribe</a><br />
<a href="http://pycon.blip.tv/file/1947431/" style="color: #551a8b;">Keynote: Guido van Rossum</a><br />
<a href="http://pycon.blip.tv/file/1947394/" id="ty3g" style="color: #551a8b;" target="_blank" title="How Python is Developed">How Python is Developed</a><br />
<br />
<a href="http://www.blip.tv/file/2022419/" style="color: #551a8b;">An Introduction to Object-Oriented Programming (Part 001)</a><br />
<a href="http://www.blip.tv/file/2022629/" style="color: #551a8b;">An Introduction to Object-Oriented Programming (Part 002)</a><br />
<a href="http://www.blip.tv/file/2022478/" style="color: #551a8b;">An Introduction to Object-Oriented Programming (Part 003)</a> <br />
<br />
<a href="http://www.blip.tv/file/2023288/" style="color: #551a8b;">Python 401: Some Advanced Topics (Part 001)</a><br />
<a href="http://www.blip.tv/file/2023093/" style="color: #551a8b;">Python 401: Some Advanced Topics (Part 002)</a> <br />
<a href="http://www.blip.tv/file/2023307/" style="color: #551a8b;">Python 401: Some Advanced Topics (Part 003)</a><br />
<br />
<a href="http://blip.tv/file/1999483/" style="color: #551a8b;">Python 101 (Part 001)</a><br />
<a href="http://blip.tv/file/1999358/" style="color: #551a8b;">Python 101 (Part 002)</a><br />
<br />
<a href="http://blip.tv/file/1999205/" style="color: #551a8b;">Python 102 (Part 001)</a><br />
<a href="http://blip.tv/file/1999063" style="color: #551a8b;">Python 102 (Part 002)</a><br />
<a href="http://blip.tv/file/1998921" style="color: #551a8b;">Python 102 (Part 003)</a></div><div style="font-family: Verdana; font-size: 13px; margin-bottom: 0px; margin-top: 0px;"><br />
</div><div style="font-family: Verdana; font-size: 13px; margin-bottom: 0px; margin-top: 0px;"><br />
</div><div style="font-family: Verdana; font-size: 13px; margin-bottom: 0px; margin-top: 0px;"><b># various</b> </div><div style="font-family: Verdana; font-size: 13px; margin-bottom: 0px; margin-top: 0px;"><br />
</div><div style="font-family: Verdana; font-size: 13px; margin-bottom: 0px; margin-top: 0px;"><div style="margin-bottom: 0px; margin-top: 0px;"><b><a href="http://www.youtube.com/watch?v=1j_HxD4iLn8&feature=youtube_gdata" id="vi7i" style="color: #551a8b;" title="sagedays29: Fernando Perez -- Scientific Computing Using Python">sagedays29: Fernando Perez -- Scientific Computing Using Python</a></b></div><b><br />
</b><div style="margin-bottom: 0px; margin-top: 0px;"><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif;"><a class="titleLink" href="http://www.archive.org/details/Scipy2010-TravisOliphant-MovingForwardFromTheLastDecadeOfScipy" style="color: #0000cc;"><span class="searchTerm Apple-style-span"><span class="Apple-style-span"><span class="Apple-style-span" style="background-color: #ccccff;"><b>SciPy</b></span></span></span><b> </b><span class="searchTerm Apple-style-span"><span class="Apple-style-span"><span class="Apple-style-span" style="background-color: #ccccff;"><b>2010</b></span></span></span><b> - Travis Oliphant - Moving Forward from the Last Decade of </b><span class="searchTerm Apple-style-span"><span class="Apple-style-span"><span class="Apple-style-span" style="background-color: #ccccff;"><b>SciPy</b></span></span></span></a></span></div><br />
<div style="margin-bottom: 0px; margin-top: 0px;"><b><a href="http://www.archive.org/details/Scipy2010-DavidBeazley-PythonConcurrency" style="color: #551a8b;">SciPy 2010 - David Beazley - Python Concurrency</a></b><br />
<a href="http://showmedo.com/videotutorials/series?name=i9KuJuNcG" style="color: #551a8b;">Getting Started with Numpy Arrays in Python</a><br />
<br />
<a href="http://www.blip.tv/file/2940638" style="color: #551a8b;">PyAtl November 2009: "Python Data Structures" by Brandon Rhodes</a><br />
<br />
<a href="http://code.google.com/edu/languages/google-python-class/" style="color: #551a8b;">Google's Python Class</a><br />
<br />
<a href="http://blip.tv/file/2844247" style="color: #551a8b;">Python for Scientific and High Performance Computing (1 of 4)</a><br />
<br />
<a href="http://www.safaribooksonline.com/Corporate/DownloadAndResources/webcastInfo.php?page=WhatIsPython&ls=Webcasts%20-%20What%20is%20Python&title=What%20is%20Python?&psbo1=Webcasts%20-%20What%20is%20Python" id="lv.j" style="color: #551a8b;" title="What is Python? by Wesley Chun">What is Python? by Wesley Chun</a><br />
<br />
<a href="http://video.google.com/videoplay?docid=7760178035196894549" id="y185" style="color: #551a8b;" title="Advanced Python or Understanding Python">Advanced Python or Understanding Python</a><br />
<br />
<a href="http://www.archive.org/details/ucb_py4science_2009_07_14_Gael_Varoquaux" style="color: #551a8b;" title="http://www.archive.org/details/ucb_py4science_2009_07_14_Gael_Varoquaux"></a><a href="http://advocacy.python.org/podcasts/pycon/PyCon2007-ProgrammingLiteracy.mp3" id="bid3" style="color: #551a8b;" title="The Importance of Programming Literacy (PyCon 2007)">The Importance of Programming Literacy (PyCon 2007)</a><br />
<br />
<a href="http://www.youtube.com/watch?v=bDgD9whDfEY&eurl=http%3A%2F%2Fwww%2Esagemath%2Eorg%2Fhelp%2Dvideo%2Ehtml&feature=player_embedded" style="color: #551a8b;">Google I/O 2008 - Painless Python Part 1 of 2</a><br />
<a href="http://www.youtube.com/watch?v=y7vwZ20SDzc&feature=channel" style="color: #551a8b;">Google I/O 2008 - Painless Python Part 2 of 2</a> <br />
<br />
<div class="line862"><a class="http" href="http://wstein.org/talks/20090622-sagedays16-thematic/" style="color: #551a8b;">Sage: Unifying Mathematical Software</a>, <a class="http" href="http://wstein.org/edu/2009/sd16/00021-stein-unifying_open_source_math_software-part1.m4v" style="color: #551a8b;">video part 1</a>, <a class="http" href="http://wstein.org/edu/2009/sd16/00022-stein-unifying_open_source_math_software-part2.m4v" style="color: #551a8b;">video part 2</a></div><br />
<a href="http://video.google.com/videoplay?docid=2025411588241625522" style="color: #551a8b;">A Demonstration of the 'IPython' Interactive Shell</a></div></div>Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com0tag:blogger.com,1999:blog-3475407867476504331.post-2632687180763257192012-02-11T15:06:00.000-08:002012-10-10T12:04:24.569-07:00Various open-source videos<a href="http://www.archive.org/details/lsd-lfnw2010" id="dq8a" style="background-color: white; color: #551a8b; font-family: Verdana; font-size: 13px;" title="What's under the hat? A sneak peek at Fedora 13 by Jesse Keating">What's under the hat? A sneak peek at Fedora 13 by Jesse Keating</a><br />
<a href="http://www.archive.org/details/lsd-lfnw2010" id="dhy3" style="background-color: white; color: #551a8b; font-family: Verdana; font-size: 13px;" title="Git er done with GIT by Jesse Keating">Git er done with GIT by Jesse Keating</a><br />
<br style="background-color: white; font-family: Verdana; font-size: 13px;" />
<a href="http://video.linuxfoundation.org/video/1711" style="background-color: white; color: #551a8b; font-family: Verdana; font-size: 13px;">Keynote: MeeGo: A Free & Standard Linux OS for the Mobile Industry</a><br />
<br style="background-color: white; font-family: Verdana; font-size: 13px;" />
<a href="http://www.youtube.com/watch?v=0SARbwvhupQ" style="background-color: white; color: #551a8b; font-family: Verdana; font-size: 13px;">Google I/O 2009 - The Myth of the Genius Programmer</a><br />
<a href="http://www.youtube.com/watch?v=2an9bWOo89o" style="background-color: white; color: #551a8b; font-family: Verdana; font-size: 13px;">Google I/O 2009 - Do You Believe in the Users?</a><br />
<a href="http://www.youtube.com/watch?v=62x17hG6Wvo" style="background-color: white; color: #551a8b; font-family: Verdana; font-size: 13px;">Google I/O 2008 - Project Hosting on Google Code</a><br />
<a href="http://www.youtube.com/watch?v=-F-3E8pyjFo" style="background-color: white; color: #551a8b; font-family: Verdana; font-size: 13px;">Google I/O 2008 - Open Source Projects and Poisonous People</a><br />
<a href="http://www.youtube.com/watch?v=hmZyyBVbkOQ&feature=player_embedded" style="background-color: white; color: #551a8b; font-family: Verdana; font-size: 13px;">Google I/O 2008 - Open Source is Magic</a><br />
<a href="http://www.youtube.com/watch?v=ZtYJoatnHb8" style="background-color: white; color: #551a8b; font-family: Verdana; font-size: 13px;">What's In It for Me? Benefits from Open Sourcing Code</a><br />
<a href="http://www.youtube.com/watch?v=NWHfY_lvKIQ" style="background-color: white; color: #551a8b; font-family: Verdana; font-size: 13px;">Learning from StackOverflow.com</a><br />
<br style="background-color: white; font-family: Verdana; font-size: 13px;" />
<a href="http://itc.conversationsnetwork.org/shows/detail188.html" id="jlyw" style="background-color: white; color: #551a8b; font-family: Verdana; font-size: 13px;" title="Paul Graham - Great Hackers (2004)">Paul Graham - Great Hackers (2004)</a><br />
<a href="http://itc.conversationsnetwork.org/shows/detail657.html" id="jxhk" style="background-color: white; color: #551a8b; font-family: Verdana; font-size: 13px;" title="Paul Graham - Open Source Software Development (2005)">Paul Graham - Open Source Software Development (2005)</a><br />
<br />
<br />
<b id="internal-source-marker_0.022345682373270392"><span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"># resources</span><br /><span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"></span><br /><a href="http://docs.sfepy.org/euroscipy-tutorials/tutorials/index.html"><span style="font-family: Verdana; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;">http://docs.sfepy.org/euroscipy-tutorials/tutorials/index.html</span></a><span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"></span><br /><span style="font-family: Verdana; font-size: 13px; vertical-align: baseline; white-space: pre-wrap;"></span><a href="http://docs.sfepy.org/euroscipy-tutorials/tutorials/index.html"><span style="font-family: Verdana; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;">Euroscipy 2010 tutorials</span></a><br /><a href="http://docs.sfepy.org/euroscipy-tutorials/tutorials/index.html"><span style="font-family: Verdana; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span></a><a href="http://www.rce-cast.com/Podcast/rce-48-numpy.html"><span style="font-family: Verdana; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;">RCE 48: NumPy</span></a><br /><a href="http://www.rce-cast.com/Podcast/rce-48-numpy.html"><span style="font-family: Verdana; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span></a><a href="http://www.pragprog.com/the-pragmatic-programmer/extracts/tips"><span style="font-family: Verdana; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;">The Pragmatic Bookshelf | List of Tips</span></a><br /><a href="http://www.pragprog.com/the-pragmatic-programmer/extracts/tips"><span style="font-family: Verdana; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span></a><a href="http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html"><span style="font-family: Verdana; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;">Code Like a Pythonista: Idiomatic Python</span></a><br /><a href="http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html"><span style="font-family: Verdana; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span></a><a href="http://mentat.za.net/numpy/numpy_advanced_slides"><span style="font-family: Verdana; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;">NumPy MedKit</span></a><span style="font-family: Verdana; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"> by Stéfan van der Walt (</span><a href="http://mentat.za.net/numpy/numpy_advanced_slides.tar.gz"><span style="font-family: Verdana; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;">.tar.gz</span></a><span style="font-family: Verdana; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;">)</span><br /><span style="font-family: Verdana; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span><a href="http://www.python.org/dev/peps/pep-3099/"><span style="font-family: Verdana; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;">PEP 3099 -- Things that will Not Change in Python 3000</span></a><br /><a href="http://www.python.org/dev/peps/pep-3099/"><span style="font-family: Verdana; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;"></span></a><a href="http://homepage.mac.com/s_lott/books/python/htmlchunks/index.html"><span style="font-family: Verdana; font-size: 13px; font-weight: normal; vertical-align: baseline; white-space: pre-wrap;">Building Skills in Python</span></a></b>Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com0tag:blogger.com,1999:blog-3475407867476504331.post-63463306868898838152011-12-26T09:44:00.000-08:002011-12-26T09:48:09.558-08:00NumPy 1.5 Beginner's Guide review<div class="separator" style="clear: both; text-align: center;"><a href="http://numpybeginnersguide.files.wordpress.com/2011/11/numpy_image.jpg?w=243&h=300" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://numpybeginnersguide.files.wordpress.com/2011/11/numpy_image.jpg?w=243&h=300" /></a></div><div class="separator" style="clear: both; text-align: center;"><a href="https://www.packtpub.com/sites/default/files/imagecache/productview/5306OS_NumPy%201.5_FrontCover.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></div><div style="text-align: justify;"><a href="http://www.packtpub.com/numpy-1-5-using-real-world-examples-beginners-guide/book" target="_blank">This new NumPy book</a> provides an easy start to NumPy for those who want to churn numbers in Python programming language, whether you don't have much programming background or you are switching from your favorite language. The author of the book uses quite a friendly tone throughout the book. Most of the important aspects of NumPy is well covered with well explained examples. The examples provided are step by step explained, starting from the basic array/matrix creation to more complex tasks like signal analysis and linear algebra related calculations.<br />
<br />
To get best out of this book, it is recommended that you would try out the examples and challenge yourself with the exercises given in have a go sections of the book. If you are feeling lazy for some reason, you can get the source code from the book's page. I finished perusing the book in about a week (having a few years of NumPy experience has definitely role in this). For me reading and understanding through stock market related examples were a bit boring, but if you are in to financial business you might enjoy putting NumPy in your toolstack with the help of this book. Notably, besides the basic NumPy beginners chapters, the book extends into basic <a href="http://matplotlib.sourceforge.net/" target="_blank">Matplotlib</a><span id="goog_1549081767"></span><span id="goog_1549081768"></span> and <a href="http://www.scipy.org/" target="_blank">SciPy</a> lands. A lot of examples use Matplotlib to create plots and better illustrate the operations at hand (e.g. curve fitting, statistical distributions) It is a bit surprising to see <a href="http://docs.scipy.org/doc/numpy/reference/maskedarray.html" target="_blank">MaskedArray</a> module didn't get any mention in the book. However, with the basics you gained, it should be fairly easy to start experimenting with masked array functions of NumPy.<br />
<br />
Overall, if you are looking for a book to get started in NumPy in about 200 pages, you might give this one a chance. It is available in both print and electronic formats. Further on, you can try their advanced matplotlib and and Sage books, if you are willing to enhance your scientific Python skills.<br />
<br />
Final Note: I received a review copy from the publisher. Thanks to Packt publishing for their contributions to open-source literature and providing me a free copy of the book.</div>Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com0tag:blogger.com,1999:blog-3475407867476504331.post-8338368920193180992011-07-28T22:49:00.000-07:002011-07-30T14:26:17.322-07:00Virgin Adaları'ndan dönüş<div style="background-color: transparent;"><div dir="ltr" id="internal-source-marker_0.912911880062893" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Buradan oraya gidiş oradan buraya gelişten daha kolaydı nedense. Yükseklik farkından olsa gerek herhalde. Taa 2000 üstü metrelerden deniz seviyesine varmak nispeten daha kolayca oldu. O kadar bisikletimi götürmeyi istesem de adaya, bu isteğimi bir türlü gerçekleştiremedim. Halbuki onca zamandır da bisikletin içinde geldiği kutusunu saklamaktayım, olurda bir gün bir adaya giderim, olurda bisikletimi götürmek isterim diye. Ne adada bisiklete binebildim, ne de adanın çevresini koşarak ya da kanoyla kürek çekerek dolaşma hayalim gerçek oldu. Artık bu hayaller başka bir zamana kaldı. Karayipler’de 7000’i aşkın irili ufaklı ada varmış. Bir gün yine denk gelir adalar etrafında bulutları çalışmak isteyen ve bulutlardaki yağış oluşumunu anlayama çalışan birileri.</span></div><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Bu aşağıdaki ilginç şekilli ada (her ne kadar konunun genelinden biraz uzak olsa da) KK adlı okur ve arkadaşa gidiyor. Gerçi her ne kadar adanın tapusu bende olmasa da, kendisinin adanın yer bilgisini bulması karşılığında bir sonraki sefere görüşmemizde bir şişe “Cruzan rum” garantilediğini bilmesini isterim. KK, ister desen tanıma kullanabilir, isterse resme ait bilgilerinden uçağın o anki yerini tespit etmeye çalışabilir, ya da olmadı eşe dosta sorabilir, tercih tamamen kendisinin.</span></div><div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br />
</span></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhisij-7YfoN7dpWVIdwj03ZtLabtH1Soh6F011wDQfUYcXwojIH17ZcccMIpRx-H31IzTJnZVfzJRsm4dxO3PkHOZgzAGSMZpyCWlOUbuiL8J_H1gVlb3LY4yO3p5wpqvBg0toIVjUSZM/s1600/ada.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="243" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhisij-7YfoN7dpWVIdwj03ZtLabtH1Soh6F011wDQfUYcXwojIH17ZcccMIpRx-H31IzTJnZVfzJRsm4dxO3PkHOZgzAGSMZpyCWlOUbuiL8J_H1gVlb3LY4yO3p5wpqvBg0toIVjUSZM/s320/ada.jpg" width="320" /></a></div><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Bugün ayın 28’i olmuş. 17 gün ne çabukta gelip geçmiş. Arda kalan günlerde gezip görüleni ve çalışılıp işleneni kısaca özetlemek için bir güzel sözsüz şarkıyla eşlik edilmiş bir resim şovu hazırladım. Şarkı yaklaşık 4 dakika 28 saniye sürüyor. Saniyeler güne tuttu, hadi öyleyse izlenen resim sayısı da adada geçen gün sayısı ile şarkının dakikasından türeyip 17x4 = 68 olsun. <a href="http://www.youtube.com/watch?v=MWh2ZxRnlmc">Tıklayıp keyifli seyirler dilerim</a> (bu kapanışta çok fazla AA ile seyahat etmekten bir etkilenme olsa gerek :) </span></div><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></div>Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com0tag:blogger.com,1999:blog-3475407867476504331.post-91438856719578181752011-07-25T07:43:00.001-07:002011-07-25T07:43:52.690-07:00Virgin Adaları Günlüğü: -3. Gün<div style="background-color: transparent;"><div dir="ltr" id="internal-source-marker_0.4289240692742169" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Bugün adaya gelişimin 2. haftası. Bunca zaman geçmesine rağmen ilk kez C-130'de uçuş fırsatını yakaladım. Çoktan beri aksatılmış günlüğün bu bölümünü yazarken 10. görevin eve dönüşüne yaklaşık 1.5 saat var. İçerisi bolca gürültülü, kulaklık takmaksızın, kulakları tıkamaksızın yolculuk etmek pek mümkün değil. Gerçi bu uçağın amacı yolculuk etmekten ziyade, bulutların içine uçup onların özelliklerini ölçmek. BUZ-T isminden de anlaşılacağı üzere asıl gaye bulutlardaki buzu ölçmek (gerek miktar, gerek şekil, gerekse de yapısal olarak) ve buzun yağış oluşumundaki işlevini daha detaylıca anlamaya çalışmak. </span></div><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Uçak bulutları ziyaret ederken ayrıcalıklı ön koltuklarda oturmadıkça, dışarıyı görmek pek mümkün değil. Bugünde ileriye bakan kamera arızalı olduğu için ekranlara kamera resimleri yansımadı --uçağın altına bakan kameradan gelenler hariç. Ziyareti söz konusu olan bulutlar epeyce gelişmiş olduklarından içerlerine doğru dikey hava hareketi epey güçleniyor. Bu sebeple emniyet (bu kelime önemli) kemerlerini açıp dolaşmak pek akıl karı bir iş değil. Bana göre “Havaların Kralı” ile bulutları ziyaret daha eğlenceliydi çünkü içerdeki herkes dışarıdaki durumu rahatça görebiliyordu, ama bu uçakta bulutları anlamamıza yardımcı olan çok daha fazla sayıda araç gereç mevcut. Mesela bu ucuşta kaydedilen veri sayısı yaklaşık olarak 500 ve 6 saatten uzun süren yolculuğun ardından her saniyede bir kez örneklenmiş verilerden oluşan dosyanın boyutu yaklaşık 130MB civarında. </span></div><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Sağ yanımda iki tane büyük hava tüpü, önümde bulut çekirdeği sayma ve ölçme cihazı, sol yanımda önündeki cihazlarla ve bilgisayarla meşgul biri, dişlerimin arasında az önce yediğim elmadan sadece geriye kalan sapı, başımda içinden bulut alakalı konuşmalar geçen kocaman bir kulaklık ve, ve aklımda bir türlü çıkmak bilmeyen bir güzel S, daha hala 1 saatlik yol var geri dönüşümüze...</span></div></div>Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com0tag:blogger.com,1999:blog-3475407867476504331.post-8013753638347990522011-07-13T20:51:00.000-07:002011-07-13T20:51:36.699-07:00Virgin Adaları Günlüğü - 2. Gün<div style="background-color: transparent; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><div dir="ltr" id="internal-source-marker_0.8391828523017466" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Dün pek bir değişik etkinliği olmayan bir gündü. Gözlükler yine buğulandı, garip kuşlar yine ötüp durdu, deniz sakinliğini korudu, bilgisayar başında yapılan çalışmalar devam etti, 5. araştırma ucuşun ardından 36 kişi bir odada bir araya gelip uçuş değerlendirmesinde bulundu ama gece yağmur yoktu. Günün önemli olaylarından biri uçuşlara katılabilmem için gerekli kısa güvenlik eğitimini tamamlamış olmamdı. Öğlen bunu yazarken gürültüsü bol, içinde ve dışında bir dünya ölçüm araç ve gereci olduğundan bahsettiğim uçağın içindeyiz. Bugün uçuş yok ama içerde olağan koşuşturmacalar sürmekte, bulutlarında istemesiyle bir-iki güne uçuşa gidiş yakındır.</span></div><div><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br />
</span></div><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span></div>Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com0tag:blogger.com,1999:blog-3475407867476504331.post-6678422231159881562011-07-12T06:51:00.000-07:002011-07-12T06:51:58.119-07:00Virgin Islands Diary - Day 1<div style="background-color: transparent; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><div dir="ltr" id="internal-source-marker_0.4486488855909556" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Today I have once again realized that, I can't think the same way in Turkish as I do in English and vice versa. Yesterday night, and this morning I tried to translate my first diary posting to English, but to no avail. Neither I was able to list the words as nicely I did in Turkish nor my sleepy eyes were able to fight more. So I have decided to alternate these island blogs in between languages. Writing Turkish for even days and English for odd days unlike I originally planned to write dual language for all days. Unlike me, </span><a href="http://www.around-n-over.org/"><span style="background-color: transparent; color: #000099; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;">Erden Eruç</span></a><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> can handle dual language blogging (as well as circumnavigating the earth) very well with using the beautiful intricacies of both languages. Three years of staying in an English speaking country apparently is not enough for me, still lots of grammar mistakes, still asking toothbrush instead of toothpaste and filling in arrival dates instead of departure dates in forms. Of course, fatigue from long travel and not getting proper sleep, high humidity and trying to focus on writing and improving an important research related text and the rash of trying to response for those who wonders about me using this turtle speed internet connection. Tell me please, where is my grammar fairy? </span></div><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Day 1 goes fast indeed. Waking up 7:30 and trying to cope with the high humidity and heat aren't as easy as it looks. Think of it like living in your bathroom while your hot shower is on. Luckily these rooms have air conditioning to make life easier. It feels like changing climates from going inside and out and outside in. I don’t remember glasses getting fogged in summer, like you step inside a warmer place from a colder place. It was a busy day today. Finally we have created an almost page long draft that describes our efforts about numerical cloud parcel model experiments that will go in a report. It took many hours indeed to finalize those few paragraphs. Each sentence triggered a new question and each question lead to a new thought provoking discussion. In our case, even jokes turned into deep intellectual conversations and sometimes deep intellectual conversations into jokes. Anyone out can tell me what "exact non-equilibrium thermodynamics" really means? :) or how Thales' deductive reasoning could play role in explaining your thought process while delving deep into the explanation of internal cloud model interactions? Probably floating on the ocean while sipping a cold drink might cause similar triggers in one's mind. Still yet to try if this claim is true or not. Students of science occupation tend to verify things, don't they? </span></div><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Even though I wasn’t able to fly today, I had chance to connect to the C-130 data system to see the measurements in real-time. This is great since without being in the aircraft you can observe how things are looking out there, except experiencing some cloud bumpiness and sharp research maneuvers. Today they performed the 4th research flight. The previous 3 research flights have already been processed and shared. Meaning I have more data to study and understand. I like variety yes, and I have atmospheric dataset collections from many different locations of the earth. When I want to go the South Pacific or Arabia or even to the central US (actually, I just go there instead of all these buzz :D), I just browse into my folders and have a fresh look at what those probes tell me, what the radar reveal, and how their imagers capture clouds like. More research is on the way, so better tigthen my mind.</span></div><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Those flurries have visited us again at around the same time like they did last night. Free nightly washing service. No wonder this tropical island is so green :) </span></div></div>Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com0tag:blogger.com,1999:blog-3475407867476504331.post-57084678254483303392011-07-11T06:04:00.000-07:002011-07-11T06:04:41.490-07:00Virgin Adaları Günlüğü - 0. Gün<div style="background-color: transparent; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><div dir="ltr" id="internal-source-marker_0.7017430423293263" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="background-color: transparent; color: black; font-family: 'Times New Roman'; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Bir kez daha </span><a href="http://conference.scipy.org/scipy2011/"><span style="background-color: transparent; color: #000099; font-family: 'Times New Roman'; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;">SciPy konferansına</span></a><span style="background-color: transparent; color: black; font-family: 'Times New Roman'; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> gitmek isterken, yolum başka bir yöne düşüyor. Gerçi bu kez gidilen yer okyanus aşırı değil, aksine okyanus içinde bir yerde: Virgin adalarında. Bir dünya dolusu atmosferik ölçüm cihazı bulunan bir uçakla buzun yağış oluşumundaki etkisini araştırmak daha cazip geldi sanırım bu sefer :) Hem C-130 ile ilk defa uçacak olmak hem de birkaç zamandır okuduğum makalelerin yazarları ile tanışacak olmak bu işi gerçekten çok heyecan verici kılıyor.</span></div><span style="background-color: transparent; color: black; font-family: 'Times New Roman'; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="background-color: transparent; color: black; font-family: 'Times New Roman'; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Adaya ulaşması epey zaman aldı. İki uçak ve bir otobüste geçen, beklemelerle birlikte 15-16 saat süren bir yolculuk oldu. Sonrasında uykulu gözlerle gecenin köründe yazılan bu yazı ve yazılması gereken bir paragrafı bitirmenin telaşı. Keşke sadece bitmeyenler bunlar olsa: geride SciPy11 zamanında tamamlamayı planladığım basit bir bulut modeli, yolculuk sırasında bitiririm dediğim “</span><a href="http://www.us.oup.com/us/catalog/general/subject/Physics/?view=usa&ci=9780199572199"><span style="background-color: transparent; color: #000099; font-family: 'Times New Roman'; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;">Termodinamik Yasalarına Çok Kısa Bir Giriş</span></a><span style="background-color: transparent; color: black; font-family: 'Times New Roman'; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">” isimli sesli kitap (bilin bakalım 0. gün ismi nereden çıktı), ve </span><a href="http://www.thegreatcourses.com/tgc/courses/course_detail.aspx?cid=1452"><span style="background-color: transparent; color: #000099; font-family: 'Times New Roman'; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;">diferensiyal denklemlerin</span></a><span style="background-color: transparent; color: black; font-family: 'Times New Roman'; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> hızlı bir tekrarını yapmamı sağlayan görüntülü ders notlarının son birkaç bölümü hala beni beklemekte.</span></div><span style="background-color: transparent; color: black; font-family: 'Times New Roman'; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div dir="ltr" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify;"><span style="background-color: transparent; color: black; font-family: 'Times New Roman'; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Öyle ya da böyle bugünden itibaren ikinci saha araştırmama merhaba diyorum. Daha önce Arabistan’da bulutlara uçmuştuk, simdi sıra Karayipler’de gezinen bulutlarda. Kendime ve takım arkadaşlarıma ölçüme müsait, bol bulutlu, tropik fırtınasız günler diliyorum. Beni bekleyen ya da bir sebepten beni bekleyemeyen herkese de çok selam şimdiden. Gecenin bu geç saatinde, dışarısı 25 </span><span class="Apple-style-span" style="background-color: #f9f9f9; font-size: 13px; line-height: 19px;"><span class="Apple-style-span" style="font-family: inherit;">°</span></span><span style="background-color: transparent; color: black; font-family: 'Times New Roman'; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">C’ye yakın sıcak iken, birden başlayan sağanak yağmur buradaki zamanın çok hareketli geçeceğini haber ediyor sanki. Biz burada </span><a href="http://www.eol.ucar.edu/projects/ice-t/"><span style="background-color: transparent; color: #000099; font-family: 'Times New Roman'; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;">BUZ-T</span></a><span style="background-color: transparent; color: black; font-family: 'Times New Roman'; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"> dolayısıyla meşgulken sizlere de buzu eksik olmayan günler diliyorum :) </span></div></div>Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com0tag:blogger.com,1999:blog-3475407867476504331.post-49264423767236664532011-05-19T00:09:00.000-07:002011-05-19T00:09:46.823-07:00Records number of citations<div style="text-align: justify;">It has been a little more than a year since I mentioned about "<a href="http://pycloud.blogspot.com/2010/03/record-number-of-equations.html">Record number of equations</a>" in a book about cloud microphysics. This time, the record holder is in a different category, that is the number of references used in a journal article. In her 2003 review article*, Prof. Finlayson-Pitts references a total of <b>367</b> articles.</div><div style="text-align: justify;"><br />
</div><div style="text-align: justify;">If you are not much in the chemical aspects of the sea salt aerosol but want to learn more about the physical and measurement sides of the subject then you can consult to your one-of-the-high-citing books (over <b>1800 </b>references) from Lewis and Schwarts (2005)**.</div><div style="text-align: justify;"><br />
</div><div style="text-align: justify;">With number of my local article collection reaching over <b>400</b> and citation listings reaching up to upper 2 and sometimes 3 digits in most of them, scientific literacy has a great place in the life of a PhD student in atmospheric sciences.</div><br />
<br />
<u><b>References</b></u>:<br />
*Finlayson-Pitts, B. J., 2003: The tropospheric chemistry of sea salt: A molecular-level view of the chemistry of NaCl and NaBr. Chem. Rev., 103, 4801-4822.<br />
<br />
**Lewis, E. R., and S. E. Schwartz, 2005: Sea Salt Aerosol Production: Mechanisms, Methods, Measurements, and Models. American Geophysical Union, Washington, DC.Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com0tag:blogger.com,1999:blog-3475407867476504331.post-90886342358945761422011-05-16T22:31:00.000-07:002011-05-16T22:31:45.167-07:00Precipitation Diagram<div class="separator" style="clear: both; text-align: center;"><a href="http://weatherfaqs.org.uk/files/u1/Masondiagram.gif"><img border="0" height="462" src="http://weatherfaqs.org.uk/files/u1/Masondiagram.gif" width="640" /></a></div><br />
<div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: left;">from: <a href="http://weatherfaqs.org.uk/node/160">http://weatherfaqs.org.uk/node/160</a></div>Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com0tag:blogger.com,1999:blog-3475407867476504331.post-79002366134724534192011-05-13T11:20:00.000-07:002011-05-13T11:23:13.105-07:00Aerosol effects figure in IPCC Climate Change 2007 report<div style="text-align: right;"></div><div style="text-align: justify;"><div class="separator" style="clear: both; text-align: center;"><a href="http://www.ipcc.ch/graphics/ar4-wg1/jpg/fig-2-10.jpg"><img border="0" height="480" src="http://www.ipcc.ch/graphics/ar4-wg1/jpg/fig-2-10.jpg" width="640" /></a></div><i>Figure 2.10. Schematic diagram showing the various radiative mechanisms associated with cloud effects that have been identified as significant in relation to aerosols (modified from Haywood and Boucher, 2000). The small black dots represent aerosol particles; the larger open circles cloud droplets. Straight lines represent the incident and reflected solar radiation, and wavy lines represent terrestrial radiation. The filled white circles indicate cloud droplet number concentration (CDNC). The unperturbed cloud contains larger cloud drops as only natural aerosols are available as cloud condensation nuclei, while the perturbed cloud contains a greater number of smaller cloud drops as both natural and anthropogenic aerosols are available as cloud condensation nuclei (CCN). The vertical grey dashes represent rainfall, and LWC refers to the liquid water content.</i></div><div style="text-align: justify;"><i><br />
</i></div><div style="text-align: justify;">IPCC: Climate Change 2007: The Physical Science Basis, in: Contribution of Working Group I to the Fourth Assessment Report of the Intergovernmental Panel on Climate Change, edited by: Solomon, S., Qin, D., Manning, M., Chen, Z., Marquis, M., Averyt, K. B., Tignor, M., and Miller, H. L., Cambridge University Press, Cambridge, UK and New York, NY, USA, 2007.</div>Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com0tag:blogger.com,1999:blog-3475407867476504331.post-49766144553010096482010-10-29T15:33:00.000-07:002010-10-29T15:33:56.180-07:00Seminar on clouds<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiA_N2G-y5GWEAw4R8dZ97RT07cwvxjnDVsIeqosZWiIYf5Tx_hDbvockawwSkzpXM0teRrH1nedwOi01ZNpCnA8IwMAtX9VkWrzwqfBMfiASpiGzdT3ArRkOjtcMSWXssJu60KLlgYbNA/s1600/gs_seminar_page1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="239" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiA_N2G-y5GWEAw4R8dZ97RT07cwvxjnDVsIeqosZWiIYf5Tx_hDbvockawwSkzpXM0teRrH1nedwOi01ZNpCnA8IwMAtX9VkWrzwqfBMfiASpiGzdT3ArRkOjtcMSWXssJu60KLlgYbNA/s320/gs_seminar_page1.png" width="320" /></a></div><br />
<div style="text-align: justify;">Yesterday, I gave a seminar talk to <a href="http://atmos.und.edu/">our department</a> faculty and students, titled as "An Aerosol - Cloud Condensation Nuclei and Cloud Droplet Concentration Closure Study" that is summarizing a majority of my thesis related work on aerosol and cloud micro-physical research, starting and finishing with the presentation slides shown above and at the very end of this post.</div><br />
<div style="text-align: justify;">One of the most exciting parts of the talk was after I finished demonstrating my research results and showed a few of the technicalities of the research. First of all, thanks go to <a href="http://www-das.uwyo.edu/faculty/snider/snider.shtml">Dr. Jefferson R. Snider</a> for providing his IDL-based parcel model code and being patient with me while I was re-writing the model in Python. Both versions of the code could be accessed through <a href="http://code.google.com/p/ccnworks/">ccnworks</a> by browsing the source tab, and looking under the thesis folder or alternatively, directly contacting to Dr. Snider to get the latest updated version of the model.</div><br />
<div style="text-align: justify;">When I was working on the model conversion, at one point I had stuck getting similar outputs from the two languages using the same initial conditions, and with the almost identically progressing code. (Some might object on the definitions of two conditions' being "the same" and "almost identical" in the land of high-precision floating point arithmetic.) Continuing in my numerical instability problem, I had created a simple <a href="http://gandalf.aero.und.edu/~gsever/drop_compare_err.gif">animation</a> to better demonstrate the issue I was experiencing. As some eyes might easily catch, the droplets in parcel model reaching to so bigger sizes comparing to the results produced by IDL, solely based on condensational growth theory. It took a while to find and correct the variable that was updating its original reference while it was supposed to be operating on a copy of the content instead. This issue and a few other discrepancies were fixed in around May 2010. As a personal important todo note at this point is to restructure the parcel model code so that it behaves as an external library, thus making all the important thermodynamical and cloud micro-physics related functions greatly re-usable. This is when I figure passing dictionaries (or changing the structure of the code) to outer scope of the original file that they are declared in.</div><div><br />
<div style="text-align: justify;">The final technicality demonstration comes from the work of <a href="http://nis-ei.eng.hokudai.ac.jp/~doba/anime/cloud_control/README.html">Dobashi et. al., (2008)</a> (Their "Feedback Control of Cumuliform Cloud Formation based on Computational Fluid Dynamics" titled work.) Those are by far the most realistic cloud appearances I have ever seen in a physical cloud formation processes applied simulation study. Although cloud modellers are usually interested in studying temporal and spatial statistical properties of clouds rather than synthesizing their realistic shapes and appearances, such a similar work would have a great educational use in visualising and thus better demonstrating the physical processes governing the cloud formation and further precipitation development. I can say that the authors should have prototyped their simulations using a C-like language in order to make low level access to CPU/GPU because of the high computation demands, but there are fast computation techniques available in Python that would make this undertaking possible to be realized be it simulating a research flight or playing in between sequences of a simulation to probe important properties of the formation.</div></div><br />
<div><div style="text-align: justify;">For the curious, I share high-quality PDF version of the <a href="http://gandalf.aero.und.edu/~gsever/gs_seminar.pdf">slides</a>. Note that I had to take out a couple pages from this original presentation in order to fit 45 minutes allocated presentation time, and it was unfortunate that one of the expected audience was not in the classroom to see a few indistinguishably minute research unrelated points. All analyses and plots in my slides are performed/created using Python and its <a href="http://www.scipy.org/">scientific tool-stack</a> with some additional annotation help from OpenOffice on the slides using DejaVu-Sans font; for the first time with full consistency. There is one exception to the pure Python code, that is when the Python based model calculations taking up five to ten times more than the original IDL-based code, and that is where exactly Cython magic were sought and applied to boost million-times executed functions. Here, I greet the community once more, for making the scientific computation freely, publicly, and easily available to everyone without putting any restrictions in both code and verbal discussions level as how this core work should really be in its very essence within the science endeavor.</div></div><div><br />
<div><div style="text-align: justify;">I also salute <a href="http://sites.google.com/site/matthewturk/">Matthew Turk</a> and his work for that fantastic <a href="http://yt.enzotools.org/files/scipy08_final.pdf">presentation</a> style even though I couldn't copy his great architectural design throughout my slides. Yet not him, I have other masters around me for letting me embrace Tufte's sayings :)</div></div><div><br />
<div style="text-align: justify;">My work on clouds is on-going and leading me to a PhD level research after successful completion of my Masters thesis within the next month. Feel free to say hi or ask more clouds if you share any research similarities.</div><br />
<div style="text-align: justify;">Now, it is time for some abstraction: <a href="http://www.capped.tv/playeralt.php?vid=youth_uprising-rarefaction">Youth Uprising - Rarefaction</a></div><br />
<div style="text-align: justify;">Please keep up imagination and creativity flames are burning all along...</div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtz51cKp-rrXyc7qIcbkfuj2rT6YcCHMbj2qEbxIeCgnlEpJqPrKkMJIuN3XZysyYqF8twHOcOVlRJzAeP313WD1gqOKCFiNwpbeFdDAoS5A_cLZFNkGViU8fitHz8eVs06ouyj1RfGpw/s1600/gs_seminar_page2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="239" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtz51cKp-rrXyc7qIcbkfuj2rT6YcCHMbj2qEbxIeCgnlEpJqPrKkMJIuN3XZysyYqF8twHOcOVlRJzAeP313WD1gqOKCFiNwpbeFdDAoS5A_cLZFNkGViU8fitHz8eVs06ouyj1RfGpw/s320/gs_seminar_page2.png" width="320" /></a></div></div></div>Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com0tag:blogger.com,1999:blog-3475407867476504331.post-86009010089350880362010-10-19T09:13:00.000-07:002010-10-20T11:59:49.890-07:00Vim magic2 - search and replace in visual selection<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2C4PAitK57D4mmG9ummu2pjnoqiaULGDhzFCCNLpDGa6oXLPd_02jvIduqwGFCaqCav73Csd7H-LxVpm8dwayJx2oaOwjQp4SmQorBh-7731a7Jm47PPYLbVNFP0WKfFB0GJ92r5wjBQ/s1600/vim_search_replace.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="387" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2C4PAitK57D4mmG9ummu2pjnoqiaULGDhzFCCNLpDGa6oXLPd_02jvIduqwGFCaqCav73Csd7H-LxVpm8dwayJx2oaOwjQp4SmQorBh-7731a7Jm47PPYLbVNFP0WKfFB0GJ92r5wjBQ/s640/vim_search_replace.png" width="640" /></a></div><div style="text-align: justify;">Since I thought making generic analysis and plotting routines would have been harder for 8-9 different source airborne data, I am showing some pure uniqueness and laziness of variable name selections on the given screenshot. Like in many cases VIM is here to my rescue :) First we switch to line selection mode by Shift-V combination and highlight the area of interest and then hitting ":" and continuing typing by s/06/08/g in the command insertion area. The magic is done --all the "06" instances are replaced by "08"s readying the code for our April08 case.</div>Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com0tag:blogger.com,1999:blog-3475407867476504331.post-29215607375343291452010-10-14T11:00:00.000-07:002010-10-14T11:01:26.919-07:00Vim magic: Synchronized scrolling<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP2xsqRYKNPnSs-PxjUK3V8cFF61A2UBjhcHRdBv9FaEoPkNPKa0hp5MBnYqtFgqZCultcV4dBFmtO3pRhSDVE1OAF_N4pjKbIImylfqsVsp44xXw5L2VRhAxUtVSiA2IO8XDbHzXgIsQ/s1600/vim_syncronized.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="473" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgP2xsqRYKNPnSs-PxjUK3V8cFF61A2UBjhcHRdBv9FaEoPkNPKa0hp5MBnYqtFgqZCultcV4dBFmtO3pRhSDVE1OAF_N4pjKbIImylfqsVsp44xXw5L2VRhAxUtVSiA2IO8XDbHzXgIsQ/s640/vim_syncronized.png" width="640" /></a></div><br />
<div style="text-align: justify;">As shown in this screen capture, I have two minor modifications to my original closure-fitting code. The original code runs using the lab PCASP size ranges and excluding the first PCASP channels data, "zair-fit" version uses the field calibrated PCASP size bins, and still excluding the first two channels. The final file "zair-fit2" runs the code with the size bins and including the pseudo-problematic first two channel PCASP concentration data.</div><div style="text-align: justify;"><div style="text-align: auto;"><span class="Apple-style-span" style="font-family: inherit;">VIM provides me a very practical way to synchronized scrolling of all open windows so that I can easily compare the results from those well-formatted table structure outputs. Solution is simple: execute the following line in each window as shown in this </span><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: serif; line-height: 19px;"><a href="http://jeffnamkung.com/blog/?p=141"><span class="Apple-style-span" style="font-family: inherit;">blog entry</span></a></span><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: serif; line-height: 19px;"><span class="Apple-style-span" style="font-family: inherit;">.</span></span></div></div><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; line-height: 13px;"><code class="plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">:</code><code class="functions" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;"><span class="Apple-style-span" style="color: #990000;">set</span></code> <code class="plain" style="background-attachment: initial !important; background-clip: initial !important; background-color: initial !important; background-image: none !important; background-origin: initial !important; border-bottom-width: 0px !important; border-color: initial !important; border-left-width: 0px !important; border-right-width: 0px !important; border-style: initial !important; border-top-width: 0px !important; bottom: auto !important; color: rgb(0, 0, 0) !important; float: none !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-style: normal !important; font-weight: normal !important; height: auto !important; left: auto !important; line-height: 1.1em !important; margin-bottom: 0px !important; margin-left: 0px !important; margin-right: 0px !important; margin-top: 0px !important; min-height: inherit !important; outline-color: initial !important; outline-style: initial !important; outline-width: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; position: static !important; right: auto !important; text-align: left !important; top: auto !important; vertical-align: baseline !important; width: auto !important;">scrollbind</code></span>Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com0tag:blogger.com,1999:blog-3475407867476504331.post-51900713638763142172010-09-01T17:30:00.000-07:002010-09-01T17:30:35.722-07:00Damlalar her yerde<span class="Apple-style-span" style="font-family: Arial; font-size: small;"><span class="Apple-style-span" style="font-size: 13px;"><div style="background-color: transparent; font-family: serif; font-size: medium; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"><div id="internal-source-marker_0.29525905731134117" style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify; text-indent: 36pt;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Evet, hepsini içmek serbest hatta kendi sıvınızda dahil. Olur ya kurak bir yerde mahsur kalarsınız diye Les Stroud’un <a href="http://lesstroud.ca/survivorman/episodes.php">Kalahari çölündeki bölümü</a>n</span><span class="Apple-style-span" style="font-family: Arial; font-size: 15px; white-space: pre-wrap;">ü</span><span class="Apple-style-span" style="font-family: Arial; font-size: 15px; white-space: pre-wrap;"> izleyebilirsiniz ya da burda kalıp okumaya devam ederek kendinize banyo yaparken soracak yeni sorular edinebilirsiniz.</span></div><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify; text-indent: 36pt;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Duş almaktan söz ediyoruz ya, ilk soru şöyle belirdi: sıcak bir duşta, pek bir havalandırması olmayan bir odanın içinde, yukarıya lamba tarafına doğru bakınca havada asılı danseden bir sürü parçacık göze çarpıyor. Gerçektende havada asılı duran parçacıklar, üfleyince bile uçuşuveriyorlar. Soruyorum, bu parçacıklar ne ölçüde aktifleşmiş? İçerideki ortam hangi oranda neme doymuştur? Sonraki soru bir şekilde banyo duvarına ya da perdesine sıçramış parçacıkların büyümesini, süzülüşünü ve diğerlerine karışıp akıp kaybolmasını izlerken aklıma geliyor. Çok sayıda küçük damlacık ve az sayıda büyük parçacık. Gamma ve Marshall-Pallmer dağılımları ne kadar doğru tanımlamakta bu parçacık dizilimini? (Diğer dağılımlara <a href="http://en.wikipedia.org/wiki/Kolmogorov%E2%80%93Smirnov_test">Kolmogorov–Smirnov</a> testi yapmak isteyen?) Son sorularsa en ilginci. Bu kez damlacıkların üstümden sıçramasını izlerken düşünüyorum ve seyre dalıyorum. Çarpan yüzeyden seken damlacıklar (bu durumda benim omzum) ne şekilde parçalanıyor ve nasıl bir yörünge takip ediyor, ne zaman sonra çiseleyerek yere doğru düşüyor ve ne kadarı buharlaşıverip ya da yan duvarda kümeleşen parçacıklara yapışıp etkisiz hale geliyor?</span></div><div style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify; text-indent: 36pt;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"><br />
</span></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLUbuiOHSBtwgvrQU9atviUvhnu9RU5kXsq7mpap2ZSgxATqQTbXPb3pHXri2AC4sic_FiARi-wWhYosIrG4b3Q__7W947zJ6dYprfFfvWI5ytlVBt-KL0JnrivpERHty_GKYKhKq0H08/s1600/20100822_004.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLUbuiOHSBtwgvrQU9atviUvhnu9RU5kXsq7mpap2ZSgxATqQTbXPb3pHXri2AC4sic_FiARi-wWhYosIrG4b3Q__7W947zJ6dYprfFfvWI5ytlVBt-KL0JnrivpERHty_GKYKhKq0H08/s320/20100822_004.jpg" /></a></div><div style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify; text-indent: 36pt;"><span class="Apple-style-span" style="font-size: 15px; white-space: pre-wrap;"><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">Ya bu kapta yoğunlaşan parçacıklara ne demeli? Nedir gerçekte onları bu şekilde dengede tutan? Nasıl bir etkileşimle öyle değişik şekiller alabilmekteler ve ne kadar büyümeleri gerekir tutundukları zeminden aşağıya kaymaya başlayıncaya kadar.</span></span></div><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify; text-indent: 36pt;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Bazıları Percy W. Bridgman’ın “Eğer ölçemiyorsak büyük ihtimalle ne demek istediğimizi bilmiyoruz” sözünü fazlasıyla dikkate alaraktan ya da Meinrat O. Andreae’nin bir konuşmasında alıntıladığı gibi “Gözlemleyerek öğrenmeyecek şey yoktur” sözünün büyüsüne fazlasıyla kendilerini kaptırdıklarından, yukarıdaki soruların bazılarının yanıtlarına ulaşmışlar gibi. Tabii bu bazıları dediklerim akışkanlar mekaniği ve yağış fiziği konularında ileri seviyede bilgisi olup dahası bu minik dünyalardaki hareketlilikleri çok yüksek hızlarda izleyebilecek araç-gerece sahip kişilerdir.</span></div><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"></span><br />
<div style="margin-bottom: 0pt; margin-top: 0pt; text-align: justify; text-indent: 36pt;"><span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;">Böyle bir uğraşın sonucunda ortaya çıkanlar ise sadece bir su damlacığını analiz ederek yağmur damlalarının genel dağılımı hakkında bir görüye ulaşılabileceğini gösteriyor. (“Bilinen bir konu üstüne çalışarak, yeni bir olguyu keşfetme.” Bu alıntının nereden geldiğini çözemediyseniz sizi James Burke’nin “<a href="http://www.youtube.com/user/JamesBurkeWeb">Evrenin değistiği gün</a>” belgeselinin ilk bölümüne alalım.) Devam edersek, düşen yağmur parçacıklarının parçalanmaya başlamadan önce teorik olarak ulaşabilecekleri çapın en fazla 6-7 mm dolayında olabileceği (bazı istisnaları ile birlikte). En ilginci ise, her ne kadar Galileo zamanından beri bilinen ve yağış ile ilgili kaynaklarda damlaların belli bir hızın üstüne gidemeyeceği bilgisinin (en azından benim böyle bilişim) yerel olarak doğruluğunu yitirişi. Parçalanış esnasında anne damladan kopan parçacıkların tekrar dengeye ulaşıncaya kadar limit hızdan aşırı hızlarda hareket ediyor oluşu. Detaylarını merak edenler <a href="http://www.nature.com/nphys/journal/v5/n9/abs/nphys1385.html">şu makaleyle</a> devam edebilirler, ya da <a href="http://www.newscientist.com/article/dn17487-myth-of-raindrop-formation-exploded.html">şu bağlantıdan</a> görüntülenmiş bir parçacığın dansını seyredebilirler.</span></div></div></span></span>Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com0tag:blogger.com,1999:blog-3475407867476504331.post-45356578445734285202010-06-29T02:20:00.000-07:002010-06-29T02:20:54.457-07:00Buradan karşısı daha mavi<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_sJXXz61ndYnXdz7u-HLG1jUICn-lwk7_kprTcoCp5ScPPNpMpedkCWtrNC5yxR2LRUoJPoFj-77PLZ376YbmdX9WiBUTsHSmevbkVS90I1TyIbrHr5_LpzBpYFIslqgBJBv1jX3shxc/s1600/res1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_sJXXz61ndYnXdz7u-HLG1jUICn-lwk7_kprTcoCp5ScPPNpMpedkCWtrNC5yxR2LRUoJPoFj-77PLZ376YbmdX9WiBUTsHSmevbkVS90I1TyIbrHr5_LpzBpYFIslqgBJBv1jX3shxc/s320/res1.jpg" /></a></div><div style="text-align: justify;"> Yok yok, buranın karşısı değil. Bu taraf geçen haftanın macerası idi. Dağın maceracısı çokmuş: kimi normal yoldan çıkıp, bisikletle patikalardan inermiş, kimileri de dağdan aşağıya atıyor kendini paraşüte güvenip :) </div><div style="text-align: justify;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFgvGxw-HsAyXEyYnLbDDQdOYbn3-bsUHT-2pCO5uafCc9JxbGkc1kmA0ehy3blZLOLuNLvkFtds86YZsRoS1MltCYRSU8WYQPY9Uq0ST6K7ifGe7a82gk2HQljox4DChs6clMO22WgMU/s1600/res2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFgvGxw-HsAyXEyYnLbDDQdOYbn3-bsUHT-2pCO5uafCc9JxbGkc1kmA0ehy3blZLOLuNLvkFtds86YZsRoS1MltCYRSU8WYQPY9Uq0ST6K7ifGe7a82gk2HQljox4DChs6clMO22WgMU/s320/res2.jpg" /></a></div><div style="text-align: justify;"> Evet işte o tepelerin ardı deniz. Şehir bir dağ ile bir tepe arasında alabildiğine uzanmış. Ne güzel bir gün öncesinden karşı taraf kendini açıkça gösteriyordu, fakat oradan dağa bakınca pek açık bir görüntü almak mümkün olmadı. Kirlilikten mi desem, buluttan mı yoksa bulut olamamış parçacıklardan mı desem dağ kendini göstermedi ertesi günü. Yandan uzanan el bana gidilecek tarafları gösteriyor: Gündoğdu, oradan aşağı Kurşunlu, sonra yan yan Mudanya.</div><div style="text-align: justify;">(Son cümle tamamlanamadan bir bölünme oldu, annem tarafından ekmek ve yufka almaya gitmem gerekçesiyle, yazı bekler patatesler kızarıyor neticesinde :) Ben yolda, acaba diyorum şimdi Texas'daki <a href="http://conference.scipy.org/scipy2010/">SciPy10</a> eğlencesinde olmak nasıl olurdu diye söyleniyorum kendi kendime, ya da Oregon'daki <a href="http://www.ametsoc.org/meet/fainst/201013atmosrad13cloudphysics.html">Bulut Fiziği</a> konferansında geziniyor olup, poster sunmak, makalelerde ve kitaplarda adlarını gördüğümüz kişilerle karşılaşıp iki laf yapmak hiç fena olmazdı.)</div><div style="text-align: justify;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4VFx_0xZSo-uP7YJJWuj37QNmC51-bffV-AOtog5jSHK_qounBLtxeL1aPIv0SFIg1-W5tuDGMq7k0lkyj3INFA_LIaGGfXS2KsrMwWaOGweeIClwHuI2aKyIyzQxDBUiQyHq7xo9T_o/s1600/res3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4VFx_0xZSo-uP7YJJWuj37QNmC51-bffV-AOtog5jSHK_qounBLtxeL1aPIv0SFIg1-W5tuDGMq7k0lkyj3INFA_LIaGGfXS2KsrMwWaOGweeIClwHuI2aKyIyzQxDBUiQyHq7xo9T_o/s320/res3.jpg" /></a></div><div style="text-align: justify;"> Karşısı yalnızca daha mavi değil, ayrıca daha da yeşil. Yol boyu isteyene zeytinlik, sahibine incirlik, yoldan geçenine çamlıklar dizili. Kimi dut vardı, kimi erik, şeftali, armut yemek isteyenine. Ara ara çeşmelerde vardı yol boyunda, ama su içmek isteyeni dağa çıkmalı...</div><div style="text-align: justify;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLnjh9hBszWO5xVpULwY6pW4tTL8OWOeytDik-Arh1VlgeP2TPGfQJenZTAZ4ypg_3Ab8O_rdt5w1hsEcdVQp4t82mr6Pd5H6AolbU6aLpHzQOnyLBR3dOsKr2skEOb09tY5kTzw0YEuc/s1600/res4.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLnjh9hBszWO5xVpULwY6pW4tTL8OWOeytDik-Arh1VlgeP2TPGfQJenZTAZ4ypg_3Ab8O_rdt5w1hsEcdVQp4t82mr6Pd5H6AolbU6aLpHzQOnyLBR3dOsKr2skEOb09tY5kTzw0YEuc/s320/res4.jpg" /></a></div><div style="text-align: justify;"> Bu resmi yukarıdakinin önüne koyunca körfeze baktığımız anlaşılıyordur sanırım. Aslında tepeden denize inince kanoya tekneye binip karşı tarafa kürek çekmek vardı. Belki ileride; tepeler yeşilini, deniz de mavisini korumaya devam ederse...</div><div style="text-align: justify;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgH4DhoL6Ypg15HzWckdEQiWRh-BZ7NmIt2N68lDv4f_1M6LIoRQgoFMOJEIz0oEdHVzvAQQwlKgRXRhqQHCvhj9bNiccoVv7WYr-DYGNFIZ-yJOwkF3vHFtlhyphenhyphengTxNhEcUMgGMRDOB25c/s1600/res5.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgH4DhoL6Ypg15HzWckdEQiWRh-BZ7NmIt2N68lDv4f_1M6LIoRQgoFMOJEIz0oEdHVzvAQQwlKgRXRhqQHCvhj9bNiccoVv7WYr-DYGNFIZ-yJOwkF3vHFtlhyphenhyphengTxNhEcUMgGMRDOB25c/s320/res5.jpg" /></a></div><div class="separator" style="clear: both; text-align: justify;"> Her inişin bir çıkışı varmış. Gerçi bisikletler güzel güzel poz verse de, elde taşındılar epeyce. Özellikle bu çıkış dağa çıkışın çok benzeri, yalnız bir farkla; burası 5-10 dakikada tükenip yine aşağıya akıyor, fakat dağ yolunda buna benzer en az 100 tanesi aşılmayı bekleyen. </div><div class="separator" style="clear: both; text-align: justify;"><br />
</div><div class="separator" style="clear: both; text-align: justify;"></div><div style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgk1Wv1LC8mGwhhLBoiiQJeeAKH5rALG5st7L-LiNLDjz1POuUr_BdduyiKUzQHCli4KkrfBq9wfOEab9B3YJIMdCznGN2Fd3Ke1CQee6Z75WnfrWiknnViIfkphQaK0zel3drKEY9SSwQ/s1600/res6.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="177" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgk1Wv1LC8mGwhhLBoiiQJeeAKH5rALG5st7L-LiNLDjz1POuUr_BdduyiKUzQHCli4KkrfBq9wfOEab9B3YJIMdCznGN2Fd3Ke1CQee6Z75WnfrWiknnViIfkphQaK0zel3drKEY9SSwQ/s400/res6.jpg" width="400" /></a></div><div style="text-align: justify;"> Bu sefer N900'ün şarjı tam doluydu yola çıkmadan. Bizim gezi yaklaşık 10 saat sürsede hem resimler hem de yol koordinatları bu kez bir aksiliğe uğramadılar. Bu yukarıdaki <a href="http://www.runsaturday.com/act/320589">Runsaturday</a> sitesinden; GPS olunca gezi daha başka bir hal oluyor. Gerçi yol boyu halinden memnun olmayanlar olsa da, bol iniş-çıkışlı ve bol manzaralı, yine son dönüş kısmı geceye kalan eğlenceli bir bisiklet turu oldu. </div>Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com0tag:blogger.com,1999:blog-3475407867476504331.post-5262454273884221842010-06-25T04:51:00.000-07:002010-06-25T04:51:44.347-07:00A is for Acceleration<div style="text-align: justify;"><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"> I was reading the comments for </span><span class="Apple-style-span" style="color: white; line-height: 16px;"><span class="Apple-style-span" style="color: black;"><a href="http://ask.slashdot.org/story/10/06/24/1739247/Best-Way-To-Publish-an-Indie-Research-Paper" style="text-decoration: underline;" title="Back to Article - Best Way To Publish an "Indie" Research Paper?"><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">Best Way To Publish an "Indie" Research Paper?</span></a><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"> entry on Slashdot. Then I have jumped to </span></span></span><a href="http://www.jir.com/"><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">The Journal of Irreproducible Results</span></a><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">. Somehow I have ended up meeting the </span><a href="http://improbable.com/magazine/"><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">Annals of Improbable Research</span></a><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"> magazine. Among the titles I semi-randomly clicked on their </span><a href="http://improbable.com/airchives/paperair/volume13/v13i2/v13i2.html"><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;">March-April 2007 Theoretical Figures</span></a><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"> issue. "Stress Analysis of Gawn" has kept me busy for a little while (keeping my comments private, no worries) Here comes a part of the poem in the same issue. See the free PDF if you are curious to read the rest...</span></div><span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"><i>You’d think there were enough. You’d think</i></span><br />
<span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"> <i>There were no need for tricks.</i><br />
<i>The letters of our alphabet</i><br />
<i>Seem plenty— twenty-six.</i><br />
<i> </i><br />
<i>The choices should be obvious</i><br />
<i>When making letters stand</i><br />
<i>For quantities of physics. Well,</i><br />
<i>Things weren’t quite that well-planned.</i><br />
<i> </i><br />
<i>The quantities are many, </i><br />
<i>And the letters not enough.</i><br />
<i>Some choices feel intuitive,</i><br />
<i>But some feel off-the-cuff.</i><br />
<i> </i><br />
<i>Yes, some are fairly obvious,</i><br />
<i>But others feel make-do.</i><br />
<i>In case you have forgotten, kids,</i><br />
<i>Let’s do a quick review.</i><br />
<i> </i><br />
<b><i>A</i></b><i> is for acceleration.</i><br />
<b><i>B</i></b><i>, magnetic feld.</i><br />
<b><i>C</i></b><i> is for the speed of light</i><br />
<i>That prism tests revealed.</i></span>Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com0tag:blogger.com,1999:blog-3475407867476504331.post-28115879625044407372010-06-21T04:24:00.000-07:002010-12-11T18:09:14.065-08:00On my way to the summit<div style="text-align: justify;"><span class="Apple-style-span" style="font-family: Verdana; font-size: 16px;"><span class="Apple-style-span" style="font-size: small;"> This is the story of my unsuccessful attempt to reach to the peak of </span><a href="http://en.wikipedia.org/wiki/Uluda%C4%9F" id="jjh2" title="Uludağ"><span class="Apple-style-span" style="font-size: small;">Uludağ</span></a><span class="Apple-style-span" style="font-size: small;"> on Saturday, June 19. I had to give up my ascent about 200 m below the summit. I had to give up because I ran out battery on my </span><a href="http://maemo.nokia.com/n900/" id="li1l" title="N900"><span class="Apple-style-span" style="font-size: small;">N900</span></a><span class="Apple-style-span" style="font-size: small;"> where I was logging my coordinates, communicating with my family down in the city of </span><a href="http://en.wikipedia.org/wiki/Bursa" id="phi6" title="Bursa"><span class="Apple-style-span" style="font-size: small;">Bursa</span></a><span class="Apple-style-span" style="font-size: small;">, and capturing all those beautiful moments that I came across along the way. To my luck, the battery died just at the point where I photographed the little summit without being saved to the device memory. Coincidentally, this was the point where I stopped climbing any further.</span></span></div><div style="text-align: justify;"><span class="Apple-style-span" style="font-family: Verdana; font-size: 16px;"><span class="Apple-style-span" style="font-size: small;"></span></span><span class="Apple-style-span" style="font-family: Verdana; font-size: 16px;"><span class="Apple-style-span" style="font-size: small;"> I was readying myself to greet </span><a href="http://www.around-n-over.org/" id="d4-v" title="Erden Eruç"><span class="Apple-style-span" style="font-size: small;">Erden Eruç</span></a><span class="Apple-style-span" style="font-size: small;"> from the top for his amazing solo journey. Along with him, I was going to send some special messages to a few people in my life, and to a few that I have met in the last couple of years in my life. Unfortunately I couldn't touch the sky from the summit; I couldn't keep the sun up for two more hours nor managed to last my batteries to document all my progress. However I managed to got back home safely; without being eaten by wolves or birds while biking in the dark from the mountain top to the almost downtown area. I returned with beautiful stories and beautiful pictures. Sometimes reaching the destination isn't all about, but it is the journey what matters most (What!, you haven't read <a href="http://en.wikipedia.org/wiki/The_Alchemist_(novel)" id="vd1r" title="the Alchemist">the Alchemist</a> yet?).</span></span></div><div style="text-align: center;"><span class="Apple-style-span" style="font-family: Verdana; font-size: 16px;"><span class="Apple-style-span" style="font-size: small;"></span></span></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjODN90J6KOMWYnLmGZk8l228Nb56a-larjXKUThUqt9p10v4mpk3fIfL0afd_qUeXSajs1RzrvRfX_uXB9BaN38s6nrCrVwWaG2gtL-eKK7q6At6EzGbYvaPRxacpLm0vqI_8RoFz1AGk/s1600/teleferik.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjODN90J6KOMWYnLmGZk8l228Nb56a-larjXKUThUqt9p10v4mpk3fIfL0afd_qUeXSajs1RzrvRfX_uXB9BaN38s6nrCrVwWaG2gtL-eKK7q6At6EzGbYvaPRxacpLm0vqI_8RoFz1AGk/s400/teleferik.jpg" width="400" /></a></div><div class="separator" style="clear: both; text-align: justify;"><span class="Apple-style-span" style="font-family: Verdana; font-size: 16px;"><span class="Apple-style-span" style="font-size: small;"> Here on, the real story begins. We started ascending (me and my bike in the same cabin) in a famous </span><a href="http://tr.wikipedia.org/wiki/Teleferik" id="vd72" title="aerial tramway"><span class="Apple-style-span" style="font-size: small;">aerial tramway</span></a><span class="Apple-style-span" style="font-size: small;">. I spent about 8$ for one-way two stage trip for both myself and the bike. It takes about 15-20 minutes without to reach up to </span><span class="Apple-style-span" style="font-size: small;">Sarıalan</span><span class="Apple-style-span" style="font-size: small;"> and as seen in the above picture the trip is highly scenic but a scary one especially if you feel fear from looking down high heights.</span></span></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy9xZxf6AV3A6EcNB-_s7sodr9XlWrSl_m7W8c6fHGK6ny48vUnWyd4VW_kP4ZS6g3V8h14R2zTTWu0b3SYRyBiLB_xTm0aYP0WvsDNNCcaU5wrDkRde-0yEWSZxwYkbMh8HI5UYgYA1o/s1600/sarialan.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy9xZxf6AV3A6EcNB-_s7sodr9XlWrSl_m7W8c6fHGK6ny48vUnWyd4VW_kP4ZS6g3V8h14R2zTTWu0b3SYRyBiLB_xTm0aYP0WvsDNNCcaU5wrDkRde-0yEWSZxwYkbMh8HI5UYgYA1o/s400/sarialan.jpg" width="400" /></a></div><div class="separator" style="clear: both; text-align: justify;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy9xZxf6AV3A6EcNB-_s7sodr9XlWrSl_m7W8c6fHGK6ny48vUnWyd4VW_kP4ZS6g3V8h14R2zTTWu0b3SYRyBiLB_xTm0aYP0WvsDNNCcaU5wrDkRde-0yEWSZxwYkbMh8HI5UYgYA1o/s1600/sarialan.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a><span class="Apple-style-span" style="font-family: Verdana;">This is the Sarıalan plateau, and also showing where I was heading to. Although the mini-buses on the front was waiting for passengers to go to the hotels region, I have passed my chance for the next time to experience the scenery as closely as possible and to mimic Erden's style a bit. The sub-motivation of this trip was to see if the white looking parts on the slope of the summit was really snow packs or some sort of rocks. </span></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglOWZQ7PO9uH0SevPM9AstjaG6RJpKKJay7GqqKTRsFARY4sTaAdyuzXo2qxi-WlnZ4rTs9Pa0PQChgaNbqxb5rEhu9RiDE2q8cmyLLQEwcQqFqZfZ8dZdYAVZ9eVMNwE4dVTj1KR7vvM/s1600/road.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglOWZQ7PO9uH0SevPM9AstjaG6RJpKKJay7GqqKTRsFARY4sTaAdyuzXo2qxi-WlnZ4rTs9Pa0PQChgaNbqxb5rEhu9RiDE2q8cmyLLQEwcQqFqZfZ8dZdYAVZ9eVMNwE4dVTj1KR7vvM/s400/road.jpg" width="400" /></a></div><div style="text-align: justify;"></div><div style="text-align: left;"><div style="text-align: justify;"><span class="Apple-style-span" style="font-family: Verdana; font-size: 16px;"><span class="Apple-style-span" style="font-size: small;"> Wasn't I right? It is all green in between lovely bird songs. This was one my most beautiful biking path I have ever taken. Although after less than a kilometer pedaling the slope of the road got steeper, I reached to a point that I was after in about 3 km more biking. </span></span></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJnRvOyoJsq6TnWxbg0s0YmD_sCRTOdtFgxTNF6mKpERgdtwsreS2Z863ZSyooPJs0BvN8WkZt7eyF3vvGS0eAZx1rbbP_0y84oC_iOg60Ny9EDJY-7BL_tXcjO-bMNhpYGiDT_KGCUl8/s1600/bike.jpg"><img border="0" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJnRvOyoJsq6TnWxbg0s0YmD_sCRTOdtFgxTNF6mKpERgdtwsreS2Z863ZSyooPJs0BvN8WkZt7eyF3vvGS0eAZx1rbbP_0y84oC_iOg60Ny9EDJY-7BL_tXcjO-bMNhpYGiDT_KGCUl8/s1600/bike.jpg" width="400" /></a></div><div style="text-align: justify;"><span class="Apple-style-span" style="font-family: Verdana; font-size: 16px;"><span class="Apple-style-span" style="font-size: small;"><span class="Apple-style-span" style="font-size: 16px;"> <span class="Apple-style-span" style="font-size: small;">Finally, my bike is at the crossroad. It is actually my cousin's bike. I stressed the bike probably more than what its manufacturer had done on it. Through wet or dry, bumpy or straight, rocky or sandy roads, day or night and blazingly fast or turtle slow, in climbing or descending it never broke down, and never had me to touch on it once. Thank you </span><a href="http://www.bisan.com.tr/" id="xly6" style="color: #551a8b;" title="Bisan"><span class="Apple-style-span" style="font-size: small;">Bisan</span></a><span class="Apple-style-span" style="font-size: small;">, you really know how to make a durable mountain bike at very affordable prices.</span></span></span></span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT3W4HXoqvJwlo0M3WL4z3rX5wckW-FV_VisW2-U9L5z6YHZRRxjOS2dcJIfH29GDfpgU2j2uTSUC36DLEwe2NYee3CYtOkJsc3pkt3zHclnT2BgiE8WScjvRJ5WXWGAkFCbwChD4iyMA/s1600/water.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT3W4HXoqvJwlo0M3WL4z3rX5wckW-FV_VisW2-U9L5z6YHZRRxjOS2dcJIfH29GDfpgU2j2uTSUC36DLEwe2NYee3CYtOkJsc3pkt3zHclnT2BgiE8WScjvRJ5WXWGAkFCbwChD4iyMA/s320/water.jpg" /></a></div><span class="Apple-style-span" style="font-family: Verdana; font-size: 16px;"><span class="Apple-style-span" style="font-size: small;"><span class="Apple-style-span" style="font-size: 16px;"><span class="Apple-style-span" style="font-size: small;"><span class="Apple-style-span" style="font-size: 16px;"> <span class="Apple-style-span" style="font-size: small;">Water water everywhere, and all drops for drinking. This was another pure joy moment. I should have stopped my climb after washing my head under this fridge cold spring</span><span class="Apple-style-span" style="font-size: small;">. I know of myself being content with small things most of the time. Apparently, this was not of those moments. I ended up continuing upwards and instead the bike carrying me I had to carry it on the very harsh roads. On the way up there was many small creaks flowing downwards conveniently freeing me from carrying water. I gave about 4-5 water breaks. Could those be any signs of melting rocks? :) Although the nature was very generous to water me any time I needed, there wasn't much to eat around the grass and on trees.</span></span></span></span></span></span></div><br />
<center> <table border="1" style="width: 50px;"><tbody>
<tr><td><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGN4BebMDTK_P-52hh-yOPxQySjVbvDIdaiQ_pEISl4iKkO_RS6l_b4q8dIcJCRApCmlnjaDYOedtB539UYPH-sHBSa_U2BwZnyInQnpNYJVPHC9M-zcPFnpaLz3Dmb32AmkSBvVgEzZM/s320/challange1.jpg" width="320" /></td><td><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbNNymQeE3ND7molUAaXdqOVNbmfA6VF3pNc508RWDnfg1lbr1IvGlawYvpG6Z1j8kQSyK27gSAC67zfK6E1qlqcMgzakkQrEPEimVPCfrQE2R1SEaOjUfZuD8tplT2sYuNISWN_1PKw8/s800/challange2.jpg"><img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbNNymQeE3ND7molUAaXdqOVNbmfA6VF3pNc508RWDnfg1lbr1IvGlawYvpG6Z1j8kQSyK27gSAC67zfK6E1qlqcMgzakkQrEPEimVPCfrQE2R1SEaOjUfZuD8tplT2sYuNISWN_1PKw8/s320/challange2.jpg" width="320" /></a></td></tr>
</tbody></table><div style="text-align: justify;"><span class="Apple-style-span" style="font-family: Verdana; font-size: 16px;"> </span><br />
<span class="Apple-style-span" style="font-family: Verdana; font-size: 16px;"><span class="Apple-style-span" style="font-size: small;"> Here comes the challenges. I felt like playing the latest </span><a href="http://en.wikipedia.org/wiki/Prince_of_Persia#Prince_of_Persia:_The_Forgotten_Sands" id="gm7l" style="color: #551a8b;" title="Prince of Persia"><span class="Apple-style-span" style="font-size: small;">Prince of Persia</span></a><span class="Apple-style-span" style="font-size: small;"> game when I came by these missing bridges. The trail was getting rougher; partially eroded by the flowing water mostly, and covered by rocks at its particular places. The first pass was the easier one, since the columns were as if specially designed for bikers in mind. When I came to the next one, I paused for a moment and </span><a href="http://www.youtube.com/watch?v=cNvJy0zoXOY" id="y:7b" style="color: #551a8b;" title="Damian Walter's clip"><span class="Apple-style-span" style="font-size: small;">Damian Walter's clip</span></a><span class="Apple-style-span" style="font-size: small;"> started playing in my head, immediately. I saved this part for him; one wrong move could have stranded me there. I took the easier path and walked around the bridge by spending 2 extra minutes, refreshing myself once again from that fresh snow water. </span></span></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXyVTQ89LNmzmv2-ZoIllaNAwfS9aCuJZ-MufTjRLHUVxONzfPpIzL-d0oPT2Z7Zw8-IyC1rHRqStfTal0hpy1Kckn4cQWCTnT3_ta7cLdvn5yDf5GaEKwwCXJhe_jWfyWVH4LzIPMsso/s800/top.jpg"><img border="0" height="301" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXyVTQ89LNmzmv2-ZoIllaNAwfS9aCuJZ-MufTjRLHUVxONzfPpIzL-d0oPT2Z7Zw8-IyC1rHRqStfTal0hpy1Kckn4cQWCTnT3_ta7cLdvn5yDf5GaEKwwCXJhe_jWfyWVH4LzIPMsso/s400/top.jpg" width="400" /></a></div><div style="text-align: justify;"><span class="Apple-style-span" style="font-family: Verdana; font-size: 16px;"><span class="Apple-style-span" style="font-size: small;"><span class="Apple-style-span" style="font-size: 16px;"> <span class="Apple-style-span" style="font-size: small;">This photo was my final summit capture. It was taken about half an hour before I reach my bridge challenges. At point A, I left my bike behind departing from the trail a bit uphill. It took me about another half an hour to get to the point B. If "C" had located on one down the right, I would have continued and touched there in a good one hour in spite of lack of all the supplies. I saw two hikers and a car parked on one hill along the way. Definitely, I would camp somewhere on the hills if I had enough equipments and companied by a good friend. </span></span></span></span><br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKfhYOHk7bFCofgW8NUvHOefASyv1R9gf6NJIqS8ypu9rue7WMju0VttExbQAU63Z8SkQGbJuReCQ8xkt_vggYDUXI-SH65JTFUHxq-mhiynsTHReMp341O39PsbfTHksjSubtXTXJasU/s1600/doublesun.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="330" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKfhYOHk7bFCofgW8NUvHOefASyv1R9gf6NJIqS8ypu9rue7WMju0VttExbQAU63Z8SkQGbJuReCQ8xkt_vggYDUXI-SH65JTFUHxq-mhiynsTHReMp341O39PsbfTHksjSubtXTXJasU/s640/doublesun.jpg" width="640" /></a></div><span class="Apple-style-span" style="font-family: Verdana;"> And a bonus sunset. I was lucky enough to see double suns appearing in the sky. I should improve my ability to interpret universe's language. (Haven't I mentioned somewhere above about the Alchemist?) When the nature has sent me omens like above I should have been wiser and not to turn my back at them. Clearly, one of the suns (illusion or not) was setting and telling me it's time to go back home. </span><br />
<span class="Apple-style-span" style="font-family: Verdana;"> After about three hours ascent, in almost an hour I managed to return to the hotels region safely. Only at one point, I was stopped by a watchdog and had to veer off to bushes. I was not sure whether the dog was leashed or not. He barked a few times and stepped a few feet towards me, while I was backing up at the same time. Later on, I stopped for a short snack break. </span><br />
<span class="Apple-style-span" style="font-family: Verdana;"><span class="Apple-style-span" style="font-size: 16px;"><span class="Apple-style-span" style="font-size: small;"> It was after 45 minutes fast descent, when I called my dad to pick me up by the </span><span class="Apple-style-span" style="font-size: small;"><a href="http://www.youtube.com/watch?v=ElK8yhnnaJU" id="tw3p" title="İnkaya sycamore"><span class="Apple-style-span" style="color: blue;">İnkaya sycamore</span></a> <span class="Apple-style-span">about 10 minutes biking distance before I could reach to the downtown</span></span><span class="Apple-style-span"><span class="Apple-style-span" style="font-size: small;">. (You still don't know the story of the Alchemist starts by a sycamore? :) Through the dark, water splash, wind whispering, dog barking, car lighting, and half moon lit ways my 25-30 km descent was completed within 45 minutes, slowing down at a few points but without ever once stopping. It could be argued if it was smart to take this adventure alone at night, but one thing is for sure; there is a lot to learn facing the darkness. In case someone still wonders, this bike proved me once again that a bike's most essential feature is its tires turning unceasingly when one most needs them to be.</span></span></span></span><span class="Apple-style-span" style="font-family: Verdana;"> </span><br />
<span class="Apple-style-span" style="font-family: Verdana;"> Final words are taken from a verse attributed to Imam al-Shafi which I heard in the <a href="http://video.google.com/videoplay?docid=-7042785511043071832#" id="kovq" style="color: #551a8b;" title="The Man Who Walked Across the World">The Man Who Walked Across the World</a> titled documentary made for the Islamic seyyah <a href="http://en.wikipedia.org/wiki/Ibn_Battuta" id="ijjc" style="color: #551a8b;" title="Ibn Battuta">Ibn Battuta</a>:</span><br />
<span class="Apple-style-span" style="font-family: Verdana;"><span class="Apple-style-span" style="font-size: 16px;"></span></span><br />
<span class="Apple-style-span" style="font-family: Verdana;"></span><br />
<span class="Apple-style-span" style="font-family: Verdana;"></span><br />
<div style="margin-bottom: 0px; margin-top: 0px; text-align: center;"><span class="Apple-style-span" style="font-family: Verdana;"><i><span class="Apple-style-span" style="font-size: x-small;"> Travel! Set out for pastures new</span></i></span></div><div style="margin-bottom: 0px; margin-top: 0px; text-align: center;"><span class="Apple-style-span" style="font-family: Verdana;"><i><span class="Apple-style-span" style="font-size: x-small;"> Life tastes richer when you have road-worn feet.</span></i></span></div><div style="margin-bottom: 0px; margin-top: 0px; text-align: center;"><span class="Apple-style-span" style="font-family: Verdana;"><i><span class="Apple-style-span" style="font-size: x-small;"> No water that stagnates is fit to drink,</span></i></span></div><div style="margin-bottom: 0px; margin-top: 0px; text-align: center;"><span class="Apple-style-span" style="font-family: Verdana;"><i><span class="Apple-style-span" style="font-size: x-small;"> For only that which flows is truly sweet.<span id="goog_469227094"></span><span id="goog_469227095"></span><a href="http://www.blogger.com/"></a></span></i></span></div></div></center><center> </center></div>Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com2tag:blogger.com,1999:blog-3475407867476504331.post-51769634164672160262010-04-16T19:58:00.000-07:002010-04-16T19:58:10.213-07:00Celebrating the first year of IPython loggingIt was last year today when I first started logging my IPython sessions explicitly using <a href="http://www.pythonxy.com/" id="f228" title="Pierre Raybaut">Pierre Raybaut</a>'s idea. All you need to do is just to make the changes/additions described in this piece of documentation (<a href="http://bazaar.launchpad.net/%7Eipython-dev/ipython/0.10.1/revision/1222/docs/source/interactive/tutorial.txt" id="ct8p" title="Logging to a file">Logging to a file</a>) on its soon-to-be-change LP repository. (Applies to IPython 0.10 and below)<br />
<br />
You get a time-stamped log file (in your ~/ipython/ or wherever your IPython home directory is set at) created per day that looks like below:<br />
<br />
#!/usr/bin/env python <br />
# 2009-04-16.py <br />
# IPython automatic logging file<br />
# 13:15 <br />
# =================================<br />
d = loadtxt(file, skiprows=30)<br />
plot([d[i][8:] for i in range(12)])<br />
# =================================<br />
# 14:08 <br />
# =================================<br />
boxplot(d[:][8:])<br />
<br />
As of writing this entry I count almost 300 separate logs and combining them into one file using <a href="http://code.google.com/p/ccnworks/source/browse/trunk/various/newhistory.py?spec=svn157&r=157" id="v6qp" title="this little script">this little script</a> yields about 37.5 k-lines (including lots of multiple entries, time-stamps, empty comments, many copy-paste codes that I haven't actually typed in)<br />
<br />
Besides having this combined file as a rough measure for myself there is another good use for it as triggered with this question: <a href="http://ask.scipy.org/en/topic/23-how-to-exit-ipython-properly">How to exit IPython properly?</a> IPython internal history file forgets what was in the session if you accidentally or intentionally kill your IPython session without issuing an Exit at the exit :) That new combined history file comes to our help.<br />
<br />
First we will append all the time-stamp logs into one file (rename it to "history" so that IPython can load it at the start-up) Then from iplib.py comment the readline.set_history_length(1000) line to prevent 1000 lines limit in your history file. Now I can access all my previous coding history from within IPython again no matter how I end my sessions. (Providing that I will stitch my logs periodically) <br />
<br />
Lazy coding at its best!<br />
<br />
It would be great if IPython could handle history lines more smartly to read multiple lines back properly. Who knows maybe an IPython super user has a solution for that laziness as well.<br />
<br />
By the way anyone knows how to remove duplicate lines from a file without actually sorting it?Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com7tag:blogger.com,1999:blog-3475407867476504331.post-88561550790182104172010-04-05T15:22:00.000-07:002010-04-05T15:33:01.590-07:00GVIM+IPython with Conque plug-inHere is an alternative way to bridge <a href="http://www.vim.org/" id="lof9" title="(G)VIM">(G)VIM</a> and <a href="http://ipython.scipy.org/" id="yorh" title="IPython">IPython</a> applications. GVIM is my editor-of-choice and IPython is a great interactive Python interpreter. If you are a user of these two environments, this simple integration technique could greatly boost your programming / prototyping speeds.<br />
<br />
First go to <a href="http://code.google.com/p/conque/" id="t_7j" title="conque">conque</a> (Thanks to Nico Raffo for the plug-in and helping me to include IPython functionality in it) page and install the plug-in following the simple installation instructions. (In my Fedora 12 system, I pulled the latest tar.gz package from the download list section and extracted it under ~/.vim folder.) Next grab the latest <b>conque_term_pylab.vim</b> file from the same section and place under ~/.vim/plugin directory.<br />
<br />
When you open a simple Python script you can easily launch an "IPython -pylab" instance by hitting <b>F6</b> and execute the whole script content by <b>F8</b>, use <b>F9</b> to send a visual selection. The IPython inside the buffer acts as a part of GVIM, so you can easily switch between buffers and copy/move text from/to buffers. You can modify the IPython switch, default window position, mapped keys editing <b>conque_term_pylab.vim</b><br />
<br />
The screenshot below shows the bridge in action: <br />
<br />
<div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkCknWs0TLqg8yYI0B6Zq7or1N6BPtKO9DMmF_oEs264I5S-eVq9TuohlLhamdbQRVaNcBFfOFAEIBAQQsBv8SKEp75nGpkNomkOuyfhzCIezwU0TQ_ib3x6n1oVwk1MRtHD7qx4GxJKc/s1600/vim+ipython.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkCknWs0TLqg8yYI0B6Zq7or1N6BPtKO9DMmF_oEs264I5S-eVq9TuohlLhamdbQRVaNcBFfOFAEIBAQQsBv8SKEp75nGpkNomkOuyfhzCIezwU0TQ_ib3x6n1oVwk1MRtHD7qx4GxJKc/s320/vim+ipython.png" /></a></div><br />
<b>Hint:</b> Add the following line into your vimrc file to get equally spaced buffer windows independent of the main GVIM window size.<br />
<br />
autocmd VimResized * wincmd =<br />
<br />
Currently only %run magic of IPython is implemented. Here are some of the ideas that could be added to improve this IPython + VIM integration:<br />
<ul><li>Add %whos key-mapping</li>
<li>Launch IPython -pylab on start-up automatically if a Python script is opened. </li>
<li>If "run" command is sent before an IPy launched instantiate one automatically.</li>
<li>Make sure only one instance of IPython is running!</li>
<li>GUI integration, create GVIM menus, reading %whos values back into a separate window and changing values.</li>
</ul>These last points could be well achieved by working on <a href="http://pida.co.uk/" id="m7v3" title="PIDA">PIDA</a> project. It is very possible to have an VIM + IPython powered IDE that is especially suited towards scientific use.Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com6tag:blogger.com,1999:blog-3475407867476504331.post-6139157941183320102010-04-03T08:50:00.000-07:002010-04-03T09:10:52.736-07:00Scenes from under a microscope window<div class="separator" style="clear: both; text-align: center;"><a href="http://lh6.ggpht.com/_BaMHN6FbdM0/S7daDPGiakI/AAAAAAAAAcY/FccYFW7dnRU/s1600/DSCN1723.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://lh6.ggpht.com/_BaMHN6FbdM0/S7daDPGiakI/AAAAAAAAAcY/FccYFW7dnRU/s320/DSCN1723.JPG" /></a></div>This photo is showing about 40 μm dry soda lime glass microspheres. They are perfectly spherical indeed. We use these particles to calibrate optical particle detectors e.g. Forward Scattering Spectrometer Probe (FSSP) The picture with less beads shows even tinier particles -- I will say sizes down to 5-10 μm from the same bottle. However these are the smallest sizes it gets from the microscope we used. It is not possible to detect by eye the sphericity of microspheres from the 2.1 μm bottle.<br />
<div style="text-align: justify;"><br />
The microscope we used is a Nikon SMZ-U (Zoom 1:10) Unfortunately, our efforts were not successful in trying to show the more sphericity of Ammonium Sulfate {(NH<sub>4</sub>)<sub>2</sub>SO<sub>4</sub>} particles than Salt (NaCl) crystals. We definitely need a powerful electron microscope to confirm this riddle. See the rest of the images at my <a href="http://picasaweb.google.com/gokhansever/Particles">Particles</a> titled Picasa album.</div><div style="text-align: justify;"></div><div style="text-align: justify;">PS: In one of the pictures the hands belong to Julia Beard. Without those hands it would take me a day to finish this work. Thanks Julia for your patience and tolerating my never-ending requests. </div>PPS: This posting has really nothing to do with Dream Theater's <a href="http://www.dreamtheater.net/disco_dreamtheater.php?s=sfam">Scenes from a Memory</a> album :)Gökhan Severhttp://www.blogger.com/profile/17112569021092421804noreply@blogger.com0