Saturday, September 22, 2012

Functional Programming

I've really enjoyed the coursera courses that I've taken so far - game theory, compilers, algorithms (part 1). I've enjoyed them so much that I'm taking another one - functional programming principles in scala.

I've gone through the setup and my first impressions were simple: it uses a lot of my RAM and uses maven repositories (using sbt).

Here's hoping I finally grok functional programming.

https://class.coursera.org/progfun-2012-001/

Wednesday, July 11, 2012

I made a compiler?

Avid readers of my blog will recall that I enrolled in an online compilers course. Four assignments,countless quizzes/exams and many late nights later, I'm done! According to my calculations, I just barely made the pass mark, which I'd say is not as good as I'd hoped, better than it could've been and less than I'd expected. But gluing my 4 assignments (lexer, parser, semantic analyser and code generator) you end up with something that can compile some programs which run and give you the output you expect!

To be fair, the course description did warn that it would be tough, and not a great place to learn a new language (C++ for me). But apart from C++, I've gotten exposure to flex, bison, and MIPS. I recommend the course to anyone willing to devote the time into it.

Sunday, April 29, 2012

Let's make a compiler

These past couple of weeks, I've been taking a game theory course https://class.coursera.org/gametheory/class/index

It's almost like taking a course at uni, except everything is multiple choice, styled with twitter bootstrap, and without the long commute. The course is winding up, so I thought I'd start another course.

As you may have guessed from the title, that course is about compilers https://www.coursera.org/course/compilers.

Compilers is one of the courses that post-Uni, I wish I had taken, so I'm pretty excited for the course. I am of the belief that understanding what goes on beneath the layer of abstraction you usually work at will make you write more effective code.

At the same time, I'm going to attempt the programming in C++. I've never written anything C++, and it's been a while since I last used a programming language without GC (C was my last one) so it'll be interesting to see how far I get!

If you're interested in taking an online course yourself, have a look here for something you might be interested in: https://plus.google.com/107809899089663019971/posts

Saturday, March 24, 2012

Making unity useful

ccsm -> ubuntu unity plugin -> behaviour -> key to show the launcher = <alt><super>

Tuesday, January 31, 2012

Last One

This is the last post in my write a blogpost every day in January challenge. So I figure it's time to get meta. I started this challenge because I had previously tried to start this blog. Then I ended up with barely anything on this blog. Then I wanted to have something on this blog, because I told someone I would. Rather than one good post, it's a lot of small posts, though.

Starting this challenge gave me an excuse for the writing to not be great (actually, an excuse for it to be terrible). It's a lot easier to write something when you don't pressure yourself to make it too meaningful.

Writing these 30 posts has made me realise how contradictory I can be. In every post, I can poke holes in the things I've said.

New challenge starting tomorrow: 30+ minutes of cardio every day for as many days in a row as I can manage (first goal is getting through February).

http://www.ted.com/talks/matt_cutts_try_something_new_for_30_days.html

Monday, January 30, 2012

Little Things

It's funny the things we remember sometimes. A little detail - a phrase, a sight, a sound - will stick in our memories, when things we'd much rather remember - where we left our keys, for example - won't come back no matter how hard we will them to.

Sometimes, these things aren't important at all. But often, I wonder if this is really the case. I will reflect more on a particular tidbit of memory and draw connections with other small tidbits. Soon enough, the tidbits form a big tidbit, that I wouldn't have seen before without each of the small bits.

As things are in the large, so they are in the small. See what you can pick up from noticing the details, and you might be surprised.

Sunday, January 29, 2012

Stressless

Stress less until you're stressless. When we are under stress, it can be hard for us to develop creative solutions. You're in fight-or-flight mode, engaging your basest instincts. Unless you're Leonardo da Vinci, your basest instincts preclude being very creative.

Is stress ever helpful? It can be. A little bit of stress can make you concentrate. A little more stress can get some adrenaline pumping.

But don't let stress ever be your baseline state. The more stress you start off with, the less excess capacity you have to handle stress when things go wrong (and things will go wrong!)

http://www.randsinrepose.com/archives/2011/04/04/a_hard_thing_is_done_by_figuring_out_how_to_start.html