Commit 6fec02f2 authored by Pallav Agarwal's avatar Pallav Agarwal

New Tip added. Cython.

parent 5e8c228a
...@@ -159,6 +159,10 @@ But what makes IITK special is that even first years are part of the team. In ro ...@@ -159,6 +159,10 @@ But what makes IITK special is that even first years are part of the team. In ro
<h4>RECENT TIPS</h4> <h4>RECENT TIPS</h4>
<ul class="nav nav-pills nav-stacked"> <ul class="nav nav-pills nav-stacked">
<li>
<a href="/2015/07/27/Boost-Python-Performance/" class="color_change">Cython: Boost Python Code Performance</a>
</li>
<li> <li>
<a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a> <a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a>
</li> </li>
......
...@@ -164,6 +164,10 @@ be as perfect as other linux package managers.</p> ...@@ -164,6 +164,10 @@ be as perfect as other linux package managers.</p>
<h4>RECENT TIPS</h4> <h4>RECENT TIPS</h4>
<ul class="nav nav-pills nav-stacked"> <ul class="nav nav-pills nav-stacked">
<li>
<a href="/2015/07/27/Boost-Python-Performance/" class="color_change">Cython: Boost Python Code Performance</a>
</li>
<li> <li>
<a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a> <a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a>
</li> </li>
......
...@@ -115,6 +115,10 @@ I found that using:</p> ...@@ -115,6 +115,10 @@ I found that using:</p>
<h4>RECENT TIPS</h4> <h4>RECENT TIPS</h4>
<ul class="nav nav-pills nav-stacked"> <ul class="nav nav-pills nav-stacked">
<li>
<a href="/2015/07/27/Boost-Python-Performance/" class="color_change">Cython: Boost Python Code Performance</a>
</li>
<li> <li>
<a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a> <a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a>
</li> </li>
......
...@@ -184,6 +184,10 @@ it is time to customize your own.</p> ...@@ -184,6 +184,10 @@ it is time to customize your own.</p>
<h4>RECENT TIPS</h4> <h4>RECENT TIPS</h4>
<ul class="nav nav-pills nav-stacked"> <ul class="nav nav-pills nav-stacked">
<li>
<a href="/2015/07/27/Boost-Python-Performance/" class="color_change">Cython: Boost Python Code Performance</a>
</li>
<li> <li>
<a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a> <a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a>
</li> </li>
......
...@@ -148,6 +148,10 @@ or using the <code>:help key-notation</code> command inside vim.</p> ...@@ -148,6 +148,10 @@ or using the <code>:help key-notation</code> command inside vim.</p>
<h4>RECENT TIPS</h4> <h4>RECENT TIPS</h4>
<ul class="nav nav-pills nav-stacked"> <ul class="nav nav-pills nav-stacked">
<li>
<a href="/2015/07/27/Boost-Python-Performance/" class="color_change">Cython: Boost Python Code Performance</a>
</li>
<li> <li>
<a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a> <a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a>
</li> </li>
......
...@@ -232,6 +232,10 @@ endif ...@@ -232,6 +232,10 @@ endif
<h4>RECENT TIPS</h4> <h4>RECENT TIPS</h4>
<ul class="nav nav-pills nav-stacked"> <ul class="nav nav-pills nav-stacked">
<li>
<a href="/2015/07/27/Boost-Python-Performance/" class="color_change">Cython: Boost Python Code Performance</a>
</li>
<li> <li>
<a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a> <a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a>
</li> </li>
......
...@@ -199,6 +199,10 @@ case sensitive for example, the correct names for the above are:</p> ...@@ -199,6 +199,10 @@ case sensitive for example, the correct names for the above are:</p>
<h4>RECENT TIPS</h4> <h4>RECENT TIPS</h4>
<ul class="nav nav-pills nav-stacked"> <ul class="nav nav-pills nav-stacked">
<li>
<a href="/2015/07/27/Boost-Python-Performance/" class="color_change">Cython: Boost Python Code Performance</a>
</li>
<li> <li>
<a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a> <a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a>
</li> </li>
......
...@@ -159,6 +159,10 @@ to start with.</p> ...@@ -159,6 +159,10 @@ to start with.</p>
<h4>RECENT TIPS</h4> <h4>RECENT TIPS</h4>
<ul class="nav nav-pills nav-stacked"> <ul class="nav nav-pills nav-stacked">
<li>
<a href="/2015/07/27/Boost-Python-Performance/" class="color_change">Cython: Boost Python Code Performance</a>
</li>
<li> <li>
<a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a> <a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a>
</li> </li>
......
...@@ -156,6 +156,10 @@ will step on each other's files and overwrite each other's essential files.</p> ...@@ -156,6 +156,10 @@ will step on each other's files and overwrite each other's essential files.</p>
<h4>RECENT TIPS</h4> <h4>RECENT TIPS</h4>
<ul class="nav nav-pills nav-stacked"> <ul class="nav nav-pills nav-stacked">
<li>
<a href="/2015/07/27/Boost-Python-Performance/" class="color_change">Cython: Boost Python Code Performance</a>
</li>
<li> <li>
<a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a> <a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a>
</li> </li>
......
This diff is collapsed.
...@@ -133,6 +133,10 @@ I had trouble finding the answers to.</p> ...@@ -133,6 +133,10 @@ I had trouble finding the answers to.</p>
<h4>RECENT TIPS</h4> <h4>RECENT TIPS</h4>
<ul class="nav nav-pills nav-stacked"> <ul class="nav nav-pills nav-stacked">
<li>
<a href="/2015/07/27/Boost-Python-Performance/" class="color_change">Cython: Boost Python Code Performance</a>
</li>
<li> <li>
<a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a> <a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a>
</li> </li>
......
...@@ -188,6 +188,10 @@ or website, you can do so (the source code for everything is public on ...@@ -188,6 +188,10 @@ or website, you can do so (the source code for everything is public on
<h4>RECENT TIPS</h4> <h4>RECENT TIPS</h4>
<ul class="nav nav-pills nav-stacked"> <ul class="nav nav-pills nav-stacked">
<li>
<a href="/2015/07/27/Boost-Python-Performance/" class="color_change">Cython: Boost Python Code Performance</a>
</li>
<li> <li>
<a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a> <a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a>
</li> </li>
......
...@@ -57,6 +57,15 @@ loadCSS( "/css/style.css", document.getElementById("loadcss")); ...@@ -57,6 +57,15 @@ loadCSS( "/css/style.css", document.getElementById("loadcss"));
<div class="row text-justify" id="content-holder"> <div class="row text-justify" id="content-holder">
<div class="col-md-12"> <div class="col-md-12">
<a href="/2015/07/27/Boost-Python-Performance/">CYTHON: BOOST PYTHON CODE PERFORMANCE</a>
<p class="author" style="text-align: right;">
<span class="date">Jul 27, 2015</span>
</p>
<div class="content">
<p>This tip is for those people who have been working on large python projects and the fact that python is a slow language as compared to statically compiled languages has finally caught up with them. This tip is about Cython, what it is and where can you use it for maximum effect.</p> <p><br /></p> <h4><strong>What is Cython?</strong></h4> <p>From the docs themselves,</p> <blockquote><p>Cython is an optimising static compiler for both the Python programming language and the extended Cython programming language (based on Pyrex).</p> <p>The Cython language is a superset of the Python language that additionally supports calling C functions and declaring...
</div>
<br /><br />
<a href="/2015/07/09/Wrath-of-Linux-Package-Managers/">WRATH OF LINUX PACKAGE MANAGERS</a> <a href="/2015/07/09/Wrath-of-Linux-Package-Managers/">WRATH OF LINUX PACKAGE MANAGERS</a>
<p class="author" style="text-align: right;"> <p class="author" style="text-align: right;">
<span class="date">Jul 09, 2015</span> <span class="date">Jul 09, 2015</span>
...@@ -180,6 +189,10 @@ loadCSS( "/css/style.css", document.getElementById("loadcss")); ...@@ -180,6 +189,10 @@ loadCSS( "/css/style.css", document.getElementById("loadcss"));
<h4>RECENT TIPS</h4> <h4>RECENT TIPS</h4>
<ul class="nav nav-pills nav-stacked"> <ul class="nav nav-pills nav-stacked">
<li>
<a href="/2015/07/27/Boost-Python-Performance/" class="color_change">Cython: Boost Python Code Performance</a>
</li>
<li> <li>
<a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a> <a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a>
</li> </li>
......
...@@ -57,6 +57,22 @@ loadCSS( "/css/search.css", document.getElementById("loadcss")); ...@@ -57,6 +57,22 @@ loadCSS( "/css/search.css", document.getElementById("loadcss"));
<div class="row text-justify" id="content-holder"> <div class="row text-justify" id="content-holder">
<div class="col-md-12"> <div class="col-md-12">
<div class="post">
<a href="/2015/07/27/Boost-Python-Performance/" class='shead'>
Cython: Boost Python Code Performance
</a>
<br />
<div class="excerpt">
This tip is for those people who have been working on large python projects and the fact that python is a slow language as compared.......I'll now leave you alone, while you explore Cython's extensive documentation, and pride yourself on reading this post. I hope that helped. Please Share. :)
</div>
<br />
<div class='tags'>
Cython:9, language:6, code:5, python:4, type:3, string:3, compiler:3, C code:3, type declarations:1, result:1, python projects:1, class attributes:1, Real World example:1, Python programming language:1, Python language:1, Levenshtein distance:1, First part:1, Cython programming language:1, Cython language:1, Cython code:1, Cython 0 20 x:1, CPython 2 6 2 7 2 4:1, C types:1, C semantics:1, C functions:1, C C compilers:1, 4 lines:1, 15 x speedup:1,
</div>
</div>
<div class="post"> <div class="post">
<a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class='shead'> <a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class='shead'>
Wrath of Linux Package Managers Wrath of Linux Package Managers
...@@ -236,6 +252,10 @@ loadCSS( "/css/search.css", document.getElementById("loadcss")); ...@@ -236,6 +252,10 @@ loadCSS( "/css/search.css", document.getElementById("loadcss"));
<h4>RECENT TIPS</h4> <h4>RECENT TIPS</h4>
<ul class="nav nav-pills nav-stacked"> <ul class="nav nav-pills nav-stacked">
<li>
<a href="/2015/07/27/Boost-Python-Performance/" class="color_change">Cython: Boost Python Code Performance</a>
</li>
<li> <li>
<a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a> <a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a>
</li> </li>
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://www.varstack.com/2015/07/27/Boost-Python-Performance/</loc>
<lastmod>2015-07-27T00:00:00+05:30</lastmod>
</url>
<url> <url>
<loc>http://www.varstack.com/2015/07/09/Wrath-of-Linux-Package-Managers/</loc> <loc>http://www.varstack.com/2015/07/09/Wrath-of-Linux-Package-Managers/</loc>
<lastmod>2015-07-09T00:00:00+05:30</lastmod> <lastmod>2015-07-09T00:00:00+05:30</lastmod>
......
...@@ -52,21 +52,30 @@ loadCSS( "/css/style.css", document.getElementById("loadcss")); ...@@ -52,21 +52,30 @@ loadCSS( "/css/style.css", document.getElementById("loadcss"));
<hr /> <hr />
<div class="row text-justify" id="content-holder"> <div class="row text-justify" id="content-holder">
<div class="col-md-12"> <div class="col-md-12">
<p><strong><a href="/2015/07/09/Wrath-of-Linux-Package-Managers/">WRATH OF LINUX PACKAGE MANAGERS</a></strong></p> <p><strong><a href="/2015/07/27/Boost-Python-Performance/">CYTHON: BOOST PYTHON CODE PERFORMANCE</a></strong></p>
<p>We all love to characterise things as <em>"More than the sum of it's parts"</em>. We'd like to say the same about our linux operating system. My <strong>ARCH</strong> is more than the sum of it's parts! Well.. no.</p> <p>This tip is for those people who have been working on large python projects and the fact that python is a slow language as compared to statically compiled languages has finally caught up with them. This tip is about Cython, what it is and where can you use it for maximum effect.</p>
<p> <p>A linux system is exactly the sum of it's parts. And most of those parts are connected to the base package manager, the beast that acts like a framework, holding everything together.</p> <p>Have...</p> <p> <p><br></p> <h4><strong>What is Cython?</strong></h4> <p>From the docs themselves,</p> <blockquote><p>Cython is an optimising static compiler for both the...</p></blockquote></p>
<p><br /></p>
<p><strong><a href="/2015/07/09/Wrath-of-Linux-Package-Managers/">WRATH OF LINUX PACKAGE MANAGERS</a></strong></p>
<p>We all love to characterise things as "More than the sum of it's parts". We'd like to say the same about our linux operating system. My <strong>ARCH</strong> is more than the sum of it's parts! Well.. no.</p>
<p> <p>A linux system is exactly the sum of it's parts. And most of those parts are connected to the base package manager, the beast that acts like a framework, holding everything together.</p> <p>Have...</p></p>
<p><br /></p> <p><br /></p>
<p><strong><a href="/2015/07/01/Vim-Mappings/">QUICK INTRO TO CUSTOM VIM MAPPINGS</a></strong></p> <p><strong><a href="/2015/07/01/Vim-Mappings/">QUICK INTRO TO CUSTOM VIM MAPPINGS</a></strong></p>
<p>One of the best things about vim is its ability to create custom mappings for <em>almost</em> any key in all modes.</p> <p>One of the best things about vim is its ability to create custom mappings for almost any key in all modes.</p>
<p> <p>Suppose you want Ctrl+S to save your document while you are in insert mode, because pressing</p> <pre><code>&lt;Esc&gt;:w&lt;Enter&gt;i </code></pre> <p>to switch to normal mode, save the file, and return back to insert mode is a bit too much. According to vim philosophy, it actually <strong>is</strong> too much, and thus you...</p> <p> <p>Suppose you want Ctrl+S to save your document while you are in insert mode, because pressing</p> &lt;Esc&gt;:w&lt;Enter&gt;i <p>to switch to normal mode, save the file, and return back to insert mode is a bit too much. According to vim philosophy, it actually <strong>is</strong> too much, and thus you...</p></p>
<p><br /></p> <p><br /></p>
...@@ -75,7 +84,7 @@ loadCSS( "/css/style.css", document.getElementById("loadcss")); ...@@ -75,7 +84,7 @@ loadCSS( "/css/style.css", document.getElementById("loadcss"));
<p>Just when you thought vim couldn't surprise you anymore, vim strikes again. As it turns out, vim supports mouse integration even in the terminal. Not only that, the support is mind blowingly simple and amazing. You can move your cursor, select text and even resize your panes in a split screen.</p> <p>Just when you thought vim couldn't surprise you anymore, vim strikes again. As it turns out, vim supports mouse integration even in the terminal. Not only that, the support is mind blowingly simple and amazing. You can move your cursor, select text and even resize your panes in a split screen.</p>
<p> <p>Most websites just say to use <code>set mouse=a</code> in your <code>.vimrc</code> to add mouse support to your vim. However,...</p> <p> <p>Most websites just say to use set mouse=a in your .vimrc to add mouse support to your vim. However,...</p></p>
<p><br /></p> <p><br /></p>
...@@ -113,6 +122,10 @@ loadCSS( "/css/style.css", document.getElementById("loadcss")); ...@@ -113,6 +122,10 @@ loadCSS( "/css/style.css", document.getElementById("loadcss"));
<h4>RECENT TIPS</h4> <h4>RECENT TIPS</h4>
<ul class="nav nav-pills nav-stacked"> <ul class="nav nav-pills nav-stacked">
<li>
<a href="/2015/07/27/Boost-Python-Performance/" class="color_change">Cython: Boost Python Code Performance</a>
</li>
<li> <li>
<a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a> <a href="/2015/07/09/Wrath-of-Linux-Package-Managers/" class="color_change">Wrath of Linux Package Managers</a>
</li> </li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment