Categories
Angel Investing BarCamp Entrepreneurship India Investing Investing InvestStream Video Life startup saturday Startups Venture Capital Video

Off the Beaten Path: Wall Street to Startup Investor – A Fireside Chat with Me!

Who is “Pankaj Jain” besides being the founder of Invest Stream and Founder Craft What came before? 

If you’ve followed my erratic writing over the years, you might have some idea. I’ve been a risk manager at the largest hedge fund in the world, Long-Term Capital Management (LTCM), operator, product manager, entrepreneur, community builder at BarCamp Delhi, co-founder of HeadStart Network Foundation and Startup Weekend India

I’ve been a venture capitalist at TLabs and 500 Startups, advisor to startups, funds and platforms like AngelList India and most recently, a dabbler in startup and venture capital related video content

My friend and former colleague, Ritesh Bansal, suggested interviewing me on the show to bring out more about who I am and what my journey has been. Naturally, I couldn’t refuse an invitation to be on my own show. Get ready for a frank and open discussion between an old friend and I. This is going to be Ritesh’s first time being visible on any social media channel, so please be gentle with him. It’s an #AMA so feel free to ask me anything.

I’m looking forward to seeing you for the AMA-style chat on July 28th, 2020 at 9:30am PDT / 12:30pm EDT and 10:00pm IST. If you’d like to RSVP and have a calendar invite, click the button. Otherwise, head over to YouTube with your questions.

Please accept YouTube cookies to play this video. By accepting you will be accessing content from YouTube, a service provided by an external third party.

YouTube privacy policy

If you accept this notice, your choice will be saved and the page will refresh.

Categories
Misc.

Perl for Beginners at BarCamp Delhi

Yesterday at BarCamp Delhi Prateek and Pratul decided to hold a hack-a-thon. The idea being, that in 2 to 3 hours, the group of programmers assembled would hack together some application. Some of the ideas thrown around were:

  • A Firefox Plugin
  • A Firefox Greasemonkey Extension
  • A manufacturing, logistical support web app

Pratul and Prateek probably have a more complete list than I do. The hack-a-thon broke apart into a few groups, each doing something different. No applications were built but a few Windows programmers were interested enough that I spent about 20 minutes showing them a few “Hello World” Perl scripts.

I’ve attached the Perl scripts for the folks who asked for them and any others that might be interested. Also, if anyone is interested in learning Perl, I highly recommend this book. It says 21 days to learn Perl but most of you will probably pick it up in less than a week.

Unfortunately, the extensions of the files are being changed to .txt so please take off the .txt once you download the files. I’m also putting the scripts inline.

hello.pl: A simple Hello World script


#! /usr/bin/perl

use warnings;
use strict;

my $name = "Pankaj";
print "Hello $name.n";


hello2.pl: A “Hello World” script that uses a very simple Perl module (below)


#! /usr/bin/perl

use warnings;
use strict;

use lib("../lib");
use Hello;

my $name = "Pankaj";
Hello::hello($name);


Please put the Hello.pm in a relative path to where you put hello2.pl as described in “use lib” line above in hello2.pl.

Hello.pm Our very simplistic Perl module


package Hello;

sub new {
}

sub hello{
my $name = $_[0];
print "hello " . $name;
} #
# ------------------------------------------------------------
1;


And our final example that one of the campers asked for was a Perl script that would take input from the command line interactively.

hello3.pl: Our final “Hello World” script that interactively asks for names on the command line.


#! /usr/bin/perl

use warnings;
use strict;
use Getopt::Long;
use Term::ReadLine;

my $foo;
my @bar;

GetOptions("foo=i" => $foo);

my $count = 0;
my $term = Term::ReadLine->new();

while ($count readline("What is your name? ");
$bar[$count] = $line;
$count++;
}

foreach my $f (@bar) {

print "bar is $fn";
}


We didn’t get to it but would one of the campers like to take one of these scripts and turn them into a CGI script or a mod_perl application? Please post your changes in a comment to this post.
Cheers

Categories
Business Economics India Markets

The Financial Crisis and India

BarCamp Delhi has been going on this weekend. I don’t think anyone took any video of the presentation but I turned into a bit of a pig and took up three speaking slots.

Sorry to Netra, Sukhdeep and every one else for taking up their slots!

The presentation is available as a download below as well as on Slideshare.

So far, there are posts on BarCampDelhi5 coverage on Webyantra and the BarCampDelhi Blog.