<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Programming on Nikhil&#39;s blog</title>
    <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/tags/programming/</link>
    <description>Recent content in Programming on Nikhil&#39;s blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-US</language>
    <lastBuildDate>Sat, 15 Oct 2016 18:31:34 -0700</lastBuildDate>
    <atom:link href="https://master--suspicious-stonebraker-7d2d21.netlify.app/tags/programming/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Introduction to Programming: What I wish I knew</title>
      <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2016/introduction-to-programming/</link>
      <pubDate>Sat, 15 Oct 2016 18:31:34 -0700</pubDate>
      <guid>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2016/introduction-to-programming/</guid>
      <description>Every Introduction to Programming class starts with a programming language, introduces various concepts like variables and functions and leaves with an understanding of some simple algorithms. Mine was no different. We used C and spent a lot of time trying to make students comfortable using Linux.&#xA;This leaves a lot to be desired. Software engineering is hard and laying out certain principles at the beginning can help tremendously. This is a short list of supplemental resources I would have liked to have when I started programming.</description>
    </item>
    <item>
      <title>Apache Cassandra: Iterate over all columns in a row</title>
      <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2012/apache-cassandra-iterate-over-all/</link>
      <pubDate>Sun, 01 Apr 2012 10:23:00 +0000</pubDate>
      <guid>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2012/apache-cassandra-iterate-over-all/</guid>
      <description>Recently I have been using Cassandra for one of my projects, and one of the needs is to iterate over all columns of a row. Each column represents an individual data, of type identified by row id, and keeps changing. So I can&amp;#8217;t simply use a set of known column names. Using the setRange call on a SliceQuery and setting a large count is also not an option, since Cassandra will try to load the entire set of columns into memory.</description>
    </item>
    <item>
      <title>foss.in 2010</title>
      <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2010/fossin-2010/</link>
      <pubDate>Mon, 20 Dec 2010 14:56:00 +0000</pubDate>
      <guid>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2010/fossin-2010/</guid>
      <description>The 10th and sadly last foss.in took place this week in Bangalore. I was there for all three days of the conference and it was great. This time around we were 6 students from my college. In addition, at the last minute a lot of KDE developers did turn up, including Vishesh Handa, Pradeepto, Abhishek and Sujith.&#xA;Danese Cooper&amp;rsquo;s opening talk about the architecture of Wikipedia was inspiring. That one of the top 5 websites in the world, is powered by just 450 servers and 60 people is an inspiring tale of open source skill and passion.</description>
    </item>
    <item>
      <title>Custom hash objects in Python</title>
      <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2008/custom-hash-objects-in-python/</link>
      <pubDate>Wed, 13 Aug 2008 11:16:00 +0000</pubDate>
      <guid>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2008/custom-hash-objects-in-python/</guid>
      <description>It&#39;s quite common to use strings, integers and other &#39;native&#39; Python data types as hash keys. But sometimes it is much easier to be able to use your own class instances as keys. Python&#39;s magic methods allow you to do this.&#xA;Note: This is not a tip on implementing hash functions, this is how you can remove a certain layer of peeking around into objects&#xA;__hash and __cmp__&#xA;Consider a useless HTML parser with a simple node design where you want to associate the node name with its attributes.</description>
    </item>
    <item>
      <title>Programming: The invisible wall</title>
      <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2008/programming-invisible-wall/</link>
      <pubDate>Thu, 17 Jul 2008 18:44:00 +0000</pubDate>
      <guid>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2008/programming-invisible-wall/</guid>
      <description>In the past few weeks, as I&#39;ve tried and failed at various projects, there has been a realisation that you can only go so far with random reading and coding.&#xA;The first few years of programming are spent coding projects pretty minor on the algorithms/data structures side.&#xA;But when you finally start growing out of it and when &#39;cool&#39; projects for you start to become more complex, a seemingly invisible wall smacks you.</description>
    </item>
    <item>
      <title>If Programming Languages were Lego...</title>
      <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2008/if-programming-languages-were-lego/</link>
      <pubDate>Wed, 27 Feb 2008 18:40:00 +0000</pubDate>
      <guid>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2008/if-programming-languages-were-lego/</guid>
      <description>Assembly would be a huge set of 1x1 blocks. You could do everything other blocks could do, and more, but it took a lot of time and planning to put them all together the right way.C would be 1x1 with a few 2x1 and 4x1 thrown in for convenience.C++ would be just like C, but there would be all these new highly specific pieces which would only be used by a few people.</description>
    </item>
    <item>
      <title>Why factor is cool</title>
      <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2008/why-factor-is-cool/</link>
      <pubDate>Sun, 17 Feb 2008 16:57:00 +0000</pubDate>
      <guid>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2008/why-factor-is-cool/</guid>
      <description>Before beginning, I must admit I haven&#39;t messed with Factor for a couple of weeks now, nor do I contribute to it, I&#39;m a Factor n00b. Please contradict peacefully.&#xA;Of course there are the usual reasons that it is open source, most of the standard libraries are in Factor itself, and that it has a really cool development environment. But almost every popular language these days has all that stuff.</description>
    </item>
    <item>
      <title>Most programmers are atheists</title>
      <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2008/most-programmers-are-atheists/</link>
      <pubDate>Sun, 17 Feb 2008 16:48:00 +0000</pubDate>
      <guid>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2008/most-programmers-are-atheists/</guid>
      <description> If this survey represents a signifact portion of them. Of course these are the programmers who are involved on the web, not much of all the zombies coding for the sake of it. </description>
    </item>
    <item>
      <title>Programming: What they don&#39;t teach in school</title>
      <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2008/programming-what-they-dont-teach-in/</link>
      <pubDate>Tue, 08 Jan 2008 18:42:00 +0000</pubDate>
      <guid>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2008/programming-what-they-dont-teach-in/</guid>
      <description>This is my honest opinion, feel happy to flame or contradict me, but be polite.&#xA;Much has already been written about how much High School computer science teaching sucks ( High school computer science education ). As a student who has just left high school I just wanted to present my 2 cents on how bad the seperation between RealWorld programming and ClassRoom programming is. A common rebuttal is that there isn&#39;t enough time.</description>
    </item>
    <item>
      <title>Factor -ize</title>
      <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2008/factor-ize/</link>
      <pubDate>Fri, 04 Jan 2008 18:44:00 +0000</pubDate>
      <guid>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2008/factor-ize/</guid>
      <description>Its been a week since i discovered Factor. So first, it&#39;s stack based, it&#39;s small, it&#39;s almost tiny. I&#39;ve never programmed in a stack based language before. But I liked it, really makes you think. Infact I haven&#39;t got any program written yet, just playing around in the interactive interpreter. It&#39;s got really good documentation by way of the API, what it could use is a quick start guide, ie.</description>
    </item>
    <item>
      <title>Tetrablocks and Login Win32 versions</title>
      <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2007/tetrablocks-and-login-win32-versions/</link>
      <pubDate>Fri, 31 Aug 2007 16:28:00 +0000</pubDate>
      <guid>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2007/tetrablocks-and-login-win32-versions/</guid>
      <description> I forgot to post this but Windows executables of both Tetrablocks and Login have been uploaded to 22bits. Compiling them on Windows was a bit of a nightmare. Tetrablocks has got all of its text drawing code removed since I couldn&#39;t get SDL_ttf to link. So you won&#39;t see the score or the game over message when playing it on Windows. </description>
    </item>
    <item>
      <title>ColourCode: 1.0 Released</title>
      <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2007/colourcode-10-released/</link>
      <pubDate>Wed, 15 Aug 2007 19:57:00 +0000</pubDate>
      <guid>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2007/colourcode-10-released/</guid>
      <description> I&#39;m quite pleased to announce the release of version 1.0 of ColourCode. You can download and know more about it from the ColourCode homepage. Please leave your feedback and bugs in the comments </description>
    </item>
    <item>
      <title>ColourCode: Some thoughts about the future</title>
      <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2007/colourcode-some-thoughts-about-future/</link>
      <pubDate>Thu, 09 Aug 2007 20:29:00 +0000</pubDate>
      <guid>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2007/colourcode-some-thoughts-about-future/</guid>
      <description>Before I write about the possible future of ColourCode, let me get a few things out of the way. First today I fixed an extensionless file bug, and you can now force languages in ColourCode.&#xA;Now that thats out of the way, I was just thinking about how much interest I still have in ColourCode. I mean writing it was a lot of fun and gave me some new insights into design but I don&#39;t feel the same interest I had in parsing and analysing language files, that I had when I began ColourCode.</description>
    </item>
    <item>
      <title>ColourCode: 1.0 almost done</title>
      <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2007/colourcode-10-almost-done/</link>
      <pubDate>Tue, 07 Aug 2007 20:06:00 +0000</pubDate>
      <guid>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2007/colourcode-10-almost-done/</guid>
      <description>ColourCode is done. It now has support for PHP and HTML which it didn&#39;t have before. Perl support will probably get in before the stable release. This version has been bumped to 1.0. I think I&#39;ve made a really good project and that it deserves the 1.0 tag. PDF support will not enter the 1.0 release but is on track for 1.1.&#xA;All that is left now is testing some highly tweaked files.</description>
    </item>
    <item>
      <title>ColourCode:Updates</title>
      <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2007/colourcodeupdates/</link>
      <pubDate>Mon, 30 Jul 2007 17:10:00 +0000</pubDate>
      <guid>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2007/colourcodeupdates/</guid>
      <description>Language support&#xA;ColourCode now has support for C# and Javascript, completing support for the original language set. I&#39;l be adding Perl and HTML soon enough.&#xA;Bugs&#xA;On the C based languages front there is a small logic error in the multiline comment system. I am currently trying to iron it out.&#xA;Snippet feature dropped&#xA;I&#39;ve decided to drop the snippet feature since its not universal (doesn&#39;t make sense in PDF) and since CSS is now dynamically generated, giving the CSS data to the user and having him embed it will be quite annoying.</description>
    </item>
    <item>
      <title>ColourCode: Almost done</title>
      <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2007/colourcode-almost-done/</link>
      <pubDate>Thu, 26 Jul 2007 20:29:00 +0000</pubDate>
      <guid>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2007/colourcode-almost-done/</guid>
      <description> In the last two days ColourCode has reached a stage where I can say that it is finally ready for release. Everything apart from implementing language handlers is done. PDF support might not be added. It all depends on how patient I am in releasing it. Meanwhile you can download a nightly build and view demos for Ruby and Python from the link above. </description>
    </item>
    <item>
      <title>ColourCode: Making progress</title>
      <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2007/colourcode-making-progress/</link>
      <pubDate>Fri, 20 Jul 2007 19:07:00 +0000</pubDate>
      <guid>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2007/colourcode-making-progress/</guid>
      <description>ColourCode has been getting along quite well for the last week. I now firmly have the basic design for my plans in working code. The language parser and handlers are coordinating well and this might just be one of the best designs I&#39;ve ever envisioned.&#xA;Once the main program is in place writing language handlers and formatters for ColourCode will be really easy.&#xA;At this stage only the Ruby language handler is complete, and until I can make it work perfectly for a large amount of code, no other handlers are expected.</description>
    </item>
    <item>
      <title>TetraBlocks: on freeze</title>
      <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2007/tetrablocks-on-freeze/</link>
      <pubDate>Sun, 27 May 2007 20:01:00 +0000</pubDate>
      <guid>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2007/tetrablocks-on-freeze/</guid>
      <description>TetraBlocks has been put of freeze for a few days. I&#39;ve got pieces rotating and stuff, but thats it for now. Right now its time to concentrate on more generic issues like writing a small highscore and menu framework, because I know that these two things are necessary in almost any game you will ever create. So if I can get those two things done, it will save me a lot of time.</description>
    </item>
    <item>
      <title>Desertion...</title>
      <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2007/desertion/</link>
      <pubDate>Thu, 10 May 2007 20:30:00 +0000</pubDate>
      <guid>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2007/desertion/</guid>
      <description>...or why I never maintain my old programs much.&#xA;The reason I create some software, fix a few bugs, do a few minor version upgrades and then let it be, until someone really needs something is because, well, I like to do a lot of different projects in different fields. Now it so happens that I am still in school, now going to standard 12, which in India means bad.</description>
    </item>
    <item>
      <title>Pixelframe Preview</title>
      <link>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2007/pixelframe-preview/</link>
      <pubDate>Sun, 08 Apr 2007 19:52:00 +0000</pubDate>
      <guid>https://master--suspicious-stonebraker-7d2d21.netlify.app/post/2007/pixelframe-preview/</guid>
      <description> As Pixelframe is nearing completion I have uploaded a pre-alpha not as a download but as a demo. Most of the features are complete. The few remaining are sorting out bugs and writing some documentation. To see the demo with two galleries try these links&#xA;http://22bits.exofire.net/demos/pixelframe/client/?album=Wallpapershttp://22bits.exofire.net/demos/pixelframe/client/?album=InkscapeIf you have comments about improvements, please post them below. </description>
    </item>
  </channel>
</rss>
