Dear reader,
I am now blogging on a new blog site.
I like wordpress and I have 3 other blogs hosted on wordpress.com. However for technical stuff I find it easier to use a wiki with interlinks to other posts/pages.
See you around,
hrj
Dear reader,
I am now blogging on a new blog site.
I like wordpress and I have 3 other blogs hosted on wordpress.com. However for technical stuff I find it easier to use a wiki with interlinks to other posts/pages.
See you around,
hrj
I saw Clang mentioned on a blog post somewhere and it looks really interesting. Got to try it sometime on a real project.
(This is more of note-to-myself)
Back in the old days, GCC was the worst open-source beast, in terms of documentation of its internals. I have made two ports of GCC with sheer guess-work.
But, I think GCC is soon going to be the best documented open-source project. (Though, I suspect the code would still be quite messy).
Checkout this project from IIT-B. I like the approach in these docs; beginning with some conceptual treatment and then drilling down to implementation details (though the latter doesn’t seem to be complete yet)
I think Engineering is mostly just the art of making the right trade-offs.
Makes for a good read. Apparently, this was one of the blocker bugs for the release of Firefox 3.
I wanted to create some dot graphs and compose them on a single page, and I thought of using LaTeX for it. That’s when I remembered LyX, my one-time favorite word-processor.
I hopped on to its website and dude! It’s still alive and kicking solid ass. I am surprise, nay shocked! They even have a version compiled with Qt4.4!
Cheers to the LyX team!
I will probably use something like dot2tex to have them co-operate. dot2tex itself looks like a neat tool.
I wrote a little game in scala; House of Mirrors. It is a logic game heavily inspired by Chromatron.
It was just a for-fun project and I also wanted to familiarize myself with scala with a real-world application.
My notes:
The biggest hurdle I faced when dealing with Scala was a lack of documentation for the standard APIs. The others being : instability of the compiler itself, changing APIs and some inconsistencies in the language. An example of the latter; “case North” is treated differently from “case north”! why? because capitalisation of identifiers is treated specially! Bad design choice I think; it’s too quirky.
Most of these problems should go away with time & love but some like the above quirkiness are potential hair-pullers.
Inkscape, an excellent open-source vector drawing program, now gets even better. The release note is one long, feature packed list!
I am looking forward to using the engraving tool.
Note to p6 and dkarsh, this was the program I used for creating the BAS logo
At work, some of us were discussing about lazy lists v/s iterators. I just tried a quick lazy list in scala, and it worked pretty well to my satisfaction.
class roleNumbers extends RandomAccessSeq[String] {
def length=10;
def apply(n:Int) = {println(“evalutaing ” + n); “role:” + n}}
val xyz = new roleNumbers
// drop 8 elements, map the sequence, and then take first element
val one_element = xyz.drop(8).map(“rum ” + _)(0)println (one_element)
The output :
evalutaing 8
rum role:8
The laziness is preserved across list operations which is a good thing.
In fact, I notice that Iterator trait and List trait have a similar interface, which reinforces my belief that they are pretty much the same, though usage semantics might be differ slightly.
I now need to figure out how to implement an efficient get_next_element kind of iterator in scala.
A mouse that runs on excess heat from your laptop. Now that’s a cool idea:
http://www.core77.com/competitions/GreenerGadgets/projects/4614/
For interactively viewing large dot (from graphviz) graphs ZGRViewer is a great tool.