The programmers of tomorrow are the wizards of the future. You’re going to look like you have magic powers compared to everybody else.Gabe Newell, Founder and President, Valve (Source: https://www.youtube.com/watch?v=dU1xS07N-FA courtesy of code.org)
Updates from February, 2013 Toggle Comment Threads | Keyboard Shortcuts
This will be quite short.
Many have told me they found the LaTeX Project Report Template that I published about two years back pretty useful. Today, I am releasing an update for the same. This includes a fix for a nasty bug in the original template apart from some layout changes.
Fork it from Github at https://github.com/k4rtik/latex-project-report-template to start creating your project reports.Visit http://k4rtik.github.io/latex-project-report-template/ to get started. (I just discovered how cool Github pages are!)
- Changed base template to a technical project report.
- Added example for inserting an image.
- Fixed numbering bug with references and acknowledgement pages.
Please shout out in the comments section if you found this useful. 🙂
It’s been 10 days since I started this challenge. Up to now, I seem to be failing in living up to the daily requirement in the Fibonacci order (0, 1, 1, 2 – the day gaps); of course, I don’t want the sequence to continue.
In retrospect, I can see what stopped me in the days I missed – once it was just a tiring day, someday it was work/extended meeting, some day just plain lack of creativity. And then, there is the fear of mediocrity – uncertainty over the quality of content that I can generate on a daily basis (Do read up on Oatmeal’s view on this).
I have come to believe that perhaps the writing challenge I have undertaken is not so important as the quality of content I post. Sharing a quote, or a few photographs do not seem enough to just live up to the daily task. A fairly decent write-up takes anywhere between an hour to three hours to produce (and sometimes days if you count the breaks in between), an amount of time I can’t devote on a daily basis right now. Does it sound like giving up on the challenge? Yes and no. Yes, because in literal terms it won’t go to completion; no, because perhaps I failed to consider the practicality of such a challenge but will continue to post more often this month than ever before.
I will now focus on writing about things that I had in mind since long, some of which are lying incomplete in my drafts folder. Stay tuned.
Even after giving enough time to that someone you are pissed off with, you can’t always expect to be impressed. Perhaps Randy was wrong.
I held this view for a very long time; but time has taken such a turn in last few months that I am only left wondering what Randy exactly meant by enough time.
So, I missed posting yesterday. Hope this doesn’t repeat.
Today I am sharing a small bash script I wrote to check the temperatures recorded by various sensors in my laptop. Nothing incredibly smart here, just a quick but useful hack.
I am one of those unhappy Linux users who suffer from lack of driver support for their hardware. Due to some weird kernel bug or messy graphics driver, which led to incredibly high temperatures on my laptop, I spent about a year using Linux as a VirtualBox guest in Windows; this was before Ubuntu 12.04 got shipped. During those times, my laptop used to shutdown automatically after reaching critical temperatures (100° C!) on simple tasks like watching a HD video on VLC.
What all do we need? In *buntu systems, install sensors and hddtemp tools. I am using an ATi Radeon card and proprietary driver ships with a utility for reporting temperature for the same. You can modify the script to work with nVidia cards accordingly.
sudo apt-get install lm-sensors hddtemp
Next, you need to run sensors-detect to let sensors identify all the hardware monitoring sensors present in your system.
Press enter to accept default options when asked.
Here is the script; hddtemp requires sudo making this script more than 3 lines:
I have put this script in my local bin folder for quick access. To do the same, follow the steps:
Put this directory in your path by putting the following line at the end of your .bashrc file (replace k4rtik by your username)
mv temp.sh ~/bin/temp
chmod +x temp
Now either logout and login or issue the following command to be able to access the script by just entering temp on your terminal.
Here is a sample run from my machine:
k4rtik: ~ $ temp acpitz-virtual-0 Adapter: Virtual device temp1: +26.8°C (crit = +127.0°C) temp2: +70.0°C (crit = +85.0°C) coretemp-isa-0000 Adapter: ISA adapter Core 0: +70.0°C (high = +84.0°C, crit = +100.0°C) Core 1: +70.0°C (high = +84.0°C, crit = +100.0°C) Core 2: +70.0°C (high = +84.0°C, crit = +100.0°C) Core 3: +70.0°C (high = +84.0°C, crit = +100.0°C) Default Adapter - ATI Mobility Radeon HD 4670 Sensor 0: Temperature - 74.50 C Do you want to know hard disk temperature (requires sudo)? (y/N) y [sudo] password for k4rtik: /dev/sda: ST9500420ASG: 51°C
PS: Didn’t know earlier – embedding Github gists into WordPress is as easy as copy & pasting the URL. 🙂
anthonyvenable110 is discussing. Toggle Comments
I spent my years from age 11 to 19 thinking about software. And if I have something that I really know, it’s software. I’m a hobbyist in biotech, but I could never go and make a world-class contribution in another field.Bill Gates. Source: http://articles.economictimes.indiatimes.com/2002-11-18/news/27331168_1_bill-gates-kumar-mangalam-birla-aditya-vikram-birla-group/2 (This was a great inspiration when choosing CS as a discipline after school; I seem to have forgotten how big an ideal Gates was for me then.)
This one needs to be quick, 14 minutes until midnight.
In this post I want to introduce a graphic novel which I read about a year back – Logicomix: An Epic Search for Truth.
How I ended up reading this is an interesting story in itself. Let me try to recite in minimum possible words. During that time (Sem 6) I had enrolled for a course called Computational Complexity by Murali sir. Now, as the name suggests, the course was pretty complex in itself. I had struggled to find good resources to read to ease myself into taking interest in the course. Classic CS hard cover books like Computational Complexity by Christos Papadimitriou weren’t of much help to this cause. Reading about the author, I discovered the UCB Professor had contributed to a graphic novel. I was curious and used some common pirate tricks to get the book’s PDF.
I have been a comics fan since early childhood. This graphic novel turned out to be a good find. Scrolled through few pages of the PDF lying comfortably in my bed, and I was hooked; finished the book in a couple of nights. The book basically tells the story of Bertrand Russell and his search for the foundations of mathematics, narrated by himself. One of my early mentors, Devendra sir, had once suggested to read the works of Russell (which I still hope to be able to do sometime), this book told me why he suggested that. Also, the book takes us through the interesting history of mathematics of the late 18th century and early 19th century.
I wrote a small review at Goodreads. FWIW the book got me interested into mathematics once again, which I had started despising since Sem 4, and led me to believe how learning the history behind development of a discipline can make it so interesting. I would recommend this book to anyone who ponders over the question – why learn theory when practice is what helps the most in our professional lives?
And it’s already 20 minutes past midnight when I finished writing this post. Need to start early next time to meet my daily goal. 🙂
I had created this long back in Decemeber of 2006. The file cab.skp (Google SketchUp file) was lying in my system since ages. Tried opening it today, discovered there is no Linux support for its viewer/editor (you listening Google?). After some fiddling with Wine and finally resorting to spend some time on a friend’s Windows Laptop, here we are. Quite a piece of art, ain’t it? 😉
Title: Zebronics GeForce Case 2
Description: The glowing big-forehead alien cabinet of my PlatiniumV2.
If somebody is interested, I found a review of the cabinet.
Inspired long back by Oliver Emberton’s herculian 30 Day Challenger, I have decided to try it out for myself this month. Feb being the smallest month should serve as the easiest possible start. 😉
The motivation for doing this are similar – stretching myself to give up on a bad habit, get the most out of my day, or being more productive in general.
Given that I have a lot to say, things that keep on forming virtual blog posts in my mind – some of which are technical, some about my dream college, some advice for juniors, some worldly pondering, some internal struggles – I have decided on my first challenge:
Publish Something Useful Everyday for Next 28 Days
The definition of useful might sound a bit flaky, but this definitely includes writing every day. And that something could be source code, photographs, or just a bunch of thoughts (this post is #1) among other possible things.
I will be keeping track of my challenge here on this blog (and that will make this Feb my most blogged-in month! :)). I am yet to decide on a punishment if I fail to meet a day’s goal; I think I should do that after observing this experiment for about a week, given meeting expectations at work and in my BTech Project are my first two priorities.
Alright, all the best to me.