If you look at most of my slides that I have created for my talks, you will find that whenever I have code, I always try to syntax highlight it.
It is very easy to comprehend code that is syntax highlighted and I always make it a point to do that, so that it is easy for my audience.
Recently a couple of people asked me how I do it and I thought of writing about it, so that you can also do it in your slides
No screenshots, please
I find that most people take the easy route and just put a screenshot of the code from an IDE. Please don’t do it. It defeats the entire purpose of posting code in the slide, since people can’t copy it. And also it becomes extremely difficult for you update it at a latter point.
So friends, don’t let friends do it
Rich Text Format (RTF)
Now that we have decided not to post screenshot, the next thing we need to do is to convert the code to RTF format.
Most IDE’s support copying the code in RTF format, so first check whether your favorite IDE supports it. If not there are many tools that are available that can do it.
If your editor is Vim
If you are like me and your favorite editor is Vim and you are using Mac, then you can use an addon called copy as rtf. This addon gives you a simple command :CopyRTF which will convert the entire buffer (or highlighted lines) to RTF, including the background and foreground color and copy it to buffer.
So, next time you show code in your slides, make sure you convert them to RTF, instead of placing a screenshot.
I was supposed give a tutorial about Hadoop and Pig today at SRII-India ICSEM 2012 conference today which is happening at Infosys campus in Mysore.
But unfortunately I was not able to attend it due a logistic nightmare created by the travel company used by the conference organizers.
I spent more than 10 hours to prepare the presentation with the demo code. I thought of sharing them here so that it will be useful for someone who wants to get started with Hadoop and Pig.
Yahoo is currently conducting HackU (Hackday for university) at IIT – Bombay and I was part of the Technical crew that is conducting the event, similar to the previous HackU.
During the event, I gave a talk titled Hacking 101, basically explaining what is a Hack, how to participate etc.
Last weekend, a couple of us from computer club (read hardware enthusiasts) met together to discuss about the different development boards available and also to learn from each other.
Boards
The following are the list of development boards that we discussed during the hackthon.
I spoke about Arduino and also discussed about the different capabilities of Arduino. You can view the slides that I used for my talk in my slideshare account. I have also embedded it here for easy reference. You can also checkout my other presentations and slides from my talks page.
Hacks
After the talks, we decided to hack the different boards and make them talk with each other. I was able to program the DDK board using Android libraries. I also succeeded in making two Arduino boards talk to each other using I2C (more details about it soon). After the hackthon I am also currently working on making both the Arduino and DDK talk to each other using I2C. Will let you know guys once I am able to do it.
Last Thursday, I conducted a workshop about web development and node.js in Girl Geek Dinner event sponsored by Yahoo in Bangalore.
Girl Geek Dinner
Girl Geek Dinner was organized by Yahoo!’s Women in Tech (WIT) group, a grassroots volunteer-led employee organization at Yahoo!. The event is conducted to inspire and support the next generation of technical women.
Slides
You can access the slides that I used for the workshop from my slideshare account. I have also embedded it here for easy reference. You can also checkout my other presentations and slides from my talks page.
Demo source code
I have uploaded the source code of the demo which I used for the workshop to my github account. Feel free to use it in whatever way you want.
Embedding code in presentations
While preparing the slides, I solved a problem, which I wanted to solve for quite sometime (ie) to embed code in the slides with full syntax highlight. I will be writing a separate blog post explaining the same soon. So stay tuned
I just came back from Google Devfestx which happened in Bangalore today. The event was very well organized and I gave a talk on building robots using Android and Arduino. This is a slightly modified version of the talk which I gave at Droidcon. I have added some additional information, especially about NFC and communicating Audio Jacket.
Slides from my talk
You can access the slides of my talk from my slideshare account. I have also embedded it here for easy reference. You can also checkout my other presentations and slides from my talks page.
Demos
I showed a demo of my pet bot Asimi. You can download the source code and learn more about the bot from its homepage.
Due to some problem in the circuit, the demo didn’t work well. I realized that in future, I should always have a video of the demo handy, which I can show in situations like this.
I also showed a demo of a game which I created using a bunch of LED’s all connected together using charlieplexing. Will post more details about it soon.
I just came from Ayana 2012 where I gave a talk about hardware hacking using Arduino.
About Ayana 2012
Ayana is a two day event conducted by PES IT. It starts with tech talks on the first day followed by 24 hour hackthon, similar to Yahoo Open hackdays.
Introduction to hardware hacking using Arduino
In my talk, I first talked about why a software hacker should look into hardware hacking. I then followed it by a brief introduction to Arduino, using the famous Blink program.
After that I was talking about different ways by which you can make Arduino talk to Internet and mobile phones like Android.
In the end I also gave out some hack ideas for the participants.
Slides
I have uploaded the slides that I used during the talk to my slideshare account. I have also embedded it here for easy reference. You can also checkout my other presentations and slides from my talks page.
The talk went well and there were lot of questions after the event, which is generally a good sign
Buying Arduino in Bangalore
As it used to happen in my other talks about Arduino, even today lot of people asked me about places where they can buy Arduino in Bangalore. I have already collect a list of places from where you can buy Arduino in Bangalore. You can refer to that page, in case you are planning to buy Arduino in Bangalore.
Just came back after my talk today at Microsoft TechEd about JavaScript.
About the talk
The talk was mainly about using JavaScript in today’s world. I gave a brief about different frameworks and some suggestions on when to use each one of them.
It also covered using JavaScript in different scenarios. The following are the different use cases that I covered
Using JavaScript in the Brower/client
Using JavaScript in the server
Using JavaScript to create mobile apps
Using JavaScript to create desktop apps
Using JavaScript to control devices connected to your computer
Slides
I have uploaded the slides which I used for the talk to my slideshare account. I have also embedded them below so that you can easily view them.
Questions/Feedback
If you have a question or feedback/comments about my slide, then do let me know by leaving a comment below.
I just came back from yet another amazing event by HasGeek. This time it is DroidCon.
DroidCon
DroidCon is a developer conference and is part of world’s largest series of Android conferences. It happened at Bangalore on 18th and 19th of November.
Slides from my talk
I gave a talk about building robots using Android and Arduino. I explored the different ways by which you can make both Android and Arduino talk to each other, concentrating on the advantages and disadvantages of the different approaches.
When I find some free time, I will write about these approaches in more detail with code samples for each of them. So stay tuned
I also showed demo of my pet bot Asimi (more details about her later). You can download the source code and learn more about the bot from its homepage.