<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Math on Amit Agarwal Linux Blog</title>
    <link>/tags/math/</link>
    <description>Recent content in Math on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Thu, 17 Feb 2011 15:11:40 +0000</lastBuildDate>
    
	<atom:link href="/tags/math/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>using gnuplot for time plotting</title>
      <link>/2011/02/17/gnuplot-time-plotting/</link>
      <pubDate>Thu, 17 Feb 2011 15:11:40 +0000</pubDate>
      
      <guid>/2011/02/17/gnuplot-time-plotting/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Couple of days back, I was working with some data and wanted to plot it. I had couple of options &lt;a class=&#34;zem_slink&#34; title=&#34;Microsoft Excel&#34; rel=&#34;homepage&#34; href=&#34;http://office.microsoft.com/en-us/excel&#34;&gt;Excel&lt;/a&gt;, ploticus and then our own &lt;a class=&#34;zem_slink&#34; title=&#34;Gnuplot&#34; rel=&#34;homepage&#34; href=&#34;http://www.gnuplot.info/&#34;&gt;gnuplot&lt;/a&gt;. My choice here was gnuplot, as this is most commonly available and helps me write scripts that can automate my repetitive task. So far, so good. The data I was plotting was against time, that was the problem. Couple of quick searches did not result into any luck to get me on the path and hence with some &lt;a class=&#34;zem_slink&#34; title=&#34;Man page&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Man_page&#34;&gt;man pages&lt;/a&gt; and some documentation, finally I found this, might be this will be helpful for others.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Zabbix error\’d — just for fun</title>
      <link>/2010/08/28/zabbix-errord-fun/</link>
      <pubDate>Sat, 28 Aug 2010 18:27:49 +0000</pubDate>
      
      <guid>/2010/08/28/zabbix-errord-fun/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&amp;lt;img class=&amp;quot;size-medium wp-image-2432&amp;quot; title=&amp;quot;History-Zabbix Error&#39;d&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/History-Zabbix-300x151.jpg&amp;quot; alt=&amp;quot;History-Zabbix Error&#39;d&amp;quot; width=&amp;quot;300&amp;quot; height=&amp;quot;151&amp;quot; /&amp;gt;&lt;/p&gt;
&lt;p&gt;I was woking on Zabbix some days back and here&amp;amp;#8217;s a screenshot that I took from Zabbix running on &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Red Hat&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.redhat.com&amp;quot;&amp;gt;Red Hat&lt;/a&gt; Enterprise &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Linux&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.kernel.org/&amp;quot;&amp;gt;Linux&lt;/a&gt; 5. Pretty interesting to see that there is a graph with all the values on the &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Cartesian coordinate system&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Cartesian_coordinate_system&amp;quot;&amp;gt;Y-axis&lt;/a&gt; as 3.26GB and still there is a trend on the graph. How many times did you get such graph 🙂&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Finding all numbers that are bigger than 1 in vim</title>
      <link>/2009/12/24/finding-all-numbers-that-are-bigger-than-1-in-vim/</link>
      <pubDate>Thu, 24 Dec 2009 07:37:08 +0000</pubDate>
      
      <guid>/2009/12/24/finding-all-numbers-that-are-bigger-than-1-in-vim/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;/^([2-9]d*|1d+)&lt;br&gt;
If we have a csv like structure&lt;/p&gt;
&lt;p&gt;The trick here is simple, lets look at the regex from the begining:&lt;/p&gt;
&lt;p&gt;^ – start from the begining&lt;br&gt;
() – start and end of block&lt;br&gt;
[] – digits within this. So we are looking from 2 to 9 to exclude the numbers begining with 1&lt;br&gt;
d – search for digits&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;– search for one or more&lt;br&gt;
| – or operation&lt;br&gt;
1 – search for numbers begining with 1&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;– containing atleast one occurence or more.&amp;lt;h6 class=&amp;quot;zemanta-related-title&amp;quot;&amp;gt;Related articles by Zemanta&lt;/h6&gt; &amp;lt;ul class=&amp;quot;zemanta-article-ul&amp;quot;&amp;gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://sparksspace.blogspot.com/2009/10/adding-leading-zeros-in-excel.html&amp;quot;&amp;gt;Adding Leading Zeros in Excel&lt;/a&gt; (sparksspace.blogspot.com)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://blog.creativethink.com/2009/11/the-best-thing-about-2010.html&amp;quot;&amp;gt;The Best Thing About &amp;amp;#8221;2010&amp;amp;#8221;&lt;/a&gt; (creativethink.com)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.revenews.com/jackbusch/google-goggles-the-world-is-your-hyperlink/&amp;quot;&amp;gt;Google Goggles: The World is Your Hyperlink&lt;/a&gt; (revenews.com)&lt;/li&gt; &lt;/ul&gt; &amp;lt;div class=&amp;quot;zemanta-pixie&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;zemanta-pixie-a&amp;quot; href=&amp;quot;http://reblog.zemanta.com/zemified/e022d83e-669e-4cad-894c-cdab54a1946c/&amp;quot; title=&amp;quot;Reblog this post [with Zemanta]&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;zemanta-pixie-img&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_e34.png&amp;quot; alt=&amp;quot;Reblog this post [with Zemanta]&amp;quot; /&amp;gt;&lt;/a&gt;&amp;lt;span class=&amp;quot;zem-script more-related more-info pretty-attribution paragraph-reblog&amp;quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    </item>
    
  </channel>
</rss>
