I’ve recently learned a couple of neat tricks to process large amounts of text files more efficiently from my new co-worker @nicolaskruchten. Our use-case is efficiently going through tens of gigabytes of logs to extract specific lines and do some operation on them. Here are a couple of things we’ve done to speed things up.
I recently stumbled on a new website, Eclipse Color Themes, and I’ve been enjoying browsing through the various themes. My favorite so far is the Gedit Original Oblivion by Sepehr Lajevardi. What really makes this theme stand out is that variables passed into a method are underlined. This lets you easily see with a glance where these variables are being used.
Comments are always failures? Followed by a post that explains why comments are failures, and what to do about it. The idea is simple, but requiring an article to explain it is a sign of failure, according to the idea.
I came up with my own phrase, which I believe makes the point clearer.
There are multiple definitions to what software architecture is, notwithstanding that in some areas, the term cannot legally be used. Definitions vary from high level code design to organizational issues. James O. Coplien and Gertrud Bjørnvig came up with a good summary in Lean Architecture.
Over the last few months I've been working with Concordia's a href = "http://cartcgd.org/"CART CGD/a group, which is a group of computer art students who want to make video games. We did a few things called "game jams", which is where a group of people meet together and try and churn out a game in a few hours.
I have not written much C++ in my life. Most of it goes back to college and university, and that short period of time I was at Autodesk. However, I always considered the STL to be very influential. A few years back, I read Bjarne Stroustrup’s book and something hit me. For those not familiar with the STL, it’s a very template-intensive library that does not use much of the traditional interfaces you typically see in object oriented libraries. Instead, everything is based on duck typing.
I've finally gotten fed up with using VB.NET as a scripting language at work, so I decided to try dropping an IronRuby interpreter into the system. It's fairly simple to do, I'll describe here how to build a REPL within your app.br /
Step 1: Make a window for the REPL. Give it a box for your input and a box for your output. How you do all this is up to you, the interesting part is how to use Ruby within it.br /
Step 2: Initialize the scripting engine.
pa href="http://nerderati.com/2010/09/perpetual-irc-the-multiplexer-edition/"Last time/a, we looked at how one could maintain a persistent session in IRC through the use of a terminal multiplexer (such as strongscreen/strong or strongtmux/strong) and SSH.
Now is the perfect time to stop using Stack Overflow unless my reputation score changes:br /
div class="separator" style="clear: both; text-align: center;"a href="http://2.bp.blogspot.com/_r6PgTbqLLgk/TOsBur7TjlI/AAAAAAAAAHQ/TEpEQWORdq8/s1600/Screenshot-Newest+Questions+-+Stack+Overflow+-+Mozilla+Firefox.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"img border="0" height="68" src="http://2.bp.blogspot.com/_r6PgTbqLLgk/TOsBur7TjlI/AAAAAAAAAHQ/TEpEQWORdq8/s640/Screenshot-Newest+Questions+-+Stack+Overflow+-+Mozilla+Firefox.png" width="640" //a/divimg src="http://feeds.feed