If You Know How to Program…

In the past week, I have come across a slightly different view of programming, from two different sources.

The premise of this book, and the other books in the Think X series, is that if you know how to program, you can use that skill to learn other topics.

from “Think Bayes” by Allen B. Downey.

I see programming as a way of learning Mathematics

from Coding the Matrix: Linear Algebra through Computer Science Applications, a free Coursera course.

This is something worth thinking about. This gives programming a slightly different twist – as a tool for learning. It is also a good tool for thinking.

 

Social Media Nuggets – Likes vs Shares

On Facebook, you have Likes and Shares. On Twitter, the equivalents are Favorites (Favs) and Retweets.

Likes and Favs are good.  They are very simple attention indicators. They make you feel that people are paying enough attention and are kind enough to take a few seconds to “Like” what you posted or tweeted. It is some kind of validation that your content may be consumed.

Shares and Retweets are better than Likes/Favs. You get a lot less of them, though. When some on shares/retweets, they are signalling you, that “this content is good for my readers/followers”.

Shares with comments are even better. Replies or retweets with edits are great too. They all show that you are engaging your readers.

The best Tweets/Posts are the ones that generate discussions. Even if the comments are negative, you learn something new. You get to know your community better through these discussions. You come to know what they like and what they don’t. You learn different view points

I spend a couple of hours in social media and moderate 5-7 groups on Facebook. It is an investment in time in understanding your communities. I enjoy being there and the interactions.

Nano Hackathons and Build to Learn

A small group to build stuff together, learn together and learn by doing. This will replace techtalks for our weekly meets.

  1. A nanoapp is something we can build n a day. The core in a couple of hours. The goal is to learn by doing.
  2. We may find open source stuff that to build upon. It will be easy to get started. Every nanoapp we build will be open sourced with a liberal license (like BSD/MIT/Apache)
  3. We can start with a few programming languages  – Python, Lua, Clojure. We can have others too. We need a couple of champions for each language.
  4. We can build web apps, mobile apps and desktop apps to start with.
  5. If there is enough interest and a community forms around it, we can grow them in to mini apps or even commercial products.
  6. We will keep the group small – 10 to 20 regulars
  7. We would love to have students. As long as they are willing to work and learn.

If the experiment is successful, we can create nano hackathon events in schools, colleges.

Someone Once Made a Remark That There Were Two Kinds of Programming Languages

From Prolog in Python – An Introduction

“Someone once made the remark that there were only two kinds of programming languages, Lisp and all the others. At that time the primary languages like Fortran were much more machine centric than those of today. That is, the way you programmed was, although more efficient, not too different than how you would program in machine language. Lisp with dynamic data, automatic garbage collection, and the ability for a lisp program to easily create and run more lisp code was very much an exception.

However over time, modern languages, like Python, came to support the kind of features found in Lisp. Today, the above remark might be changed to “Prolog and all the others”.”

I found a link to 50 Free Python Books and started looking at some of them. One of the most interesting was Python for Fun. I was amazed at what I found. I do like the author’s idea of fun! It was not meant for beginners (as I thought) but towards intermediate programmers.

Purpose of this Collection

This collection is a presentation of several small Python programs. They are aimed at intermediate programmers; people who have studied Python and are fairly comfortable with basic recursion and object oriented techniques. Each program is very short, never more than a couple of pages and accompanied with a write-up.

Looks at these projects.  I am certainly going to make some of these part of our tech talks and training programs.

python_for_fun

 

 

A Few of my Favorite Quotes from Peter Thiel’s Zero to One

We are going to discuss the book at Chennai Open Coffee Club today. So I decided to take all the fragments I marked up from the the book and share it in this post. Hopefully, we will get to most of them in our book club discussion. I apologize that these quotes do not have much of a context or selected based on some criteria. I resonate with most of them and puzzled by a few. Here it goes:

This book is about the questions you must ask and answer to succeed in the business of doing new things: what follows is not a manual or a record of knowledge but an exercise in thinking. Because that is what a startup has to do: question received ideas and rethink business from scratch.

  • E VERY MOMENT IN BUSINESS happens only once. The next Bill Gates will not build an operating system. The next Larry Page or Sergey Brin won’t make a search engine. And the next Mark Zuckerberg won’t create a social network. If you are copying these guys, you aren’t learning from them.
  • Unless they invest in the difficult task of creating new things, American companies will fail in the future no matter how big their profits remain today.
  • The paradox of teaching entrepreneurship is that such a formula necessarily cannot exist; because every innovation is new and unique, no authority can prescribe in concrete terms how to be innovative.
  • In a world of scarce resources, globalization without new technology is unsustainable.
  •  it’s hard to develop new things in big organizations,
  • Positively defined, a startup is the largest group of people you can convince of a plan to build a different future.
  • If you lose sight of competitive reality and focus on trivial differentiating factors— maybe you think your naan is superior because of your great-grandmother’s recipe—your business is unlikely to survive.
  • In the real world outside economic theory, every business is successful exactly to the extent that it does something others cannot.
  • a great business is defined by its ability to generate cash flows in the future.
  • Simply stated, the value of a business today is the sum of all the money it will make in the future .
  • Most of a tech company’s value will come at least 10 to 15 years in the future.
  • As a good rule of thumb, proprietary technology must be at least 10 times better than its closest substitute in some important dimension to lead to a real monopolistic advantage.
  • network effects businesses must start with especially small markets.
  • successful network businesses rarely get started by MBA types: the initial markets are so small that they often don’t even appear to be business opportunities at all.
  • Beginning with brand rather than substance is dangerous.
  • Every startup is small at the start. Every monopoly dominates a large share of its market. Therefore, every startup should start with a very small market. Always err on the side of starting too small. The reason is simple: it’s easier to dominate a small market than a large one . If you think your initial market might be too big, it almost certainly is.
  • The perfect target market for a startup is a small group of particular people concentrated together and served by few or no competitors.
  • future: is it a matter of chance or design?
  • Instead of pursuing many-sided mediocrity and calling it “well-roundedness,” a definite person determines the one best thing to do and then does it.
  • Boom produced a generation of indefinite optimists so used to effortless progress that they feel entitled to it.
  • fascination with statistical predictions – statistical predictions of what the country will be thinking in a few weeks ’ time than by visionary predictions of what the country will look like 10 or 20 years from now.
  • A startup is the largest endeavor over which you can have definite mastery. You can have agency not just over your own life, but over a small and important part of the world. It begins by rejecting the unjust tyranny of Chance. You are not a lottery ticket.
  • never underestimate exponential growth.
  • After all, less than 1% of new businesses started each year in the U.S. receive venture funding, and total VC investment accounts for less than 0.2% of GDP. But the results of those investments disproportionately propel the entire economy. Venture-backed companies create 11% of all private sector jobs. They generate annual revenues equivalent to an astounding 21% of GDP. Indeed, the dozen largest tech companies were all venture-backed. Together those 12 companies are worth more than $ 2 trillion, more than all other tech companies combined.
  • EVERY ONE OF TODAY ’S most famous and familiar ideas was once unknown and unsuspected.
  • Companies are like countries in this way. Bad decisions made early on— if you choose the wrong partners or hire the wrong people , for example— are very hard to correct after they are made. It may take a crisis on the order of bankruptcy before anybody will even try to correct them.
  • advertising doesn’t exist to make you buy a product right away; it exists to embed subtle impressions that will drive sales later.
  • It’s better to think of distribution as something essential to the design of your product. If you’ve invented something new but you haven’t invented an effective way to sell it, you have a bad business— no matter how good the product.
  • Superior sales and distribution by itself can create a monopoly, even with no product differentiation.
  • The most valuable businesses of coming decades will be built by entrepreneurs who seek to empower people rather than try to make them obsolete.
  • But the most valuable companies in the future won’t ask what problems can be solved with computers alone. Instead, they’ll ask: how can computers help humans solve hard problems?
  • The Engineering Question Can you create breakthrough technology instead of incremental improvements? 2. The Timing Question Is now the right time to start your particular business? 3. The Monopoly Question Are you starting with a big share of a small market? 4. The People Question Do you have the right team? 5. The Distribution Question Do you have a way to not just create but deliver your product? 6. The Durability Question Will your market position be defensible 10 and 20 years into the future? 7. The Secret Question Have you identified a unique opportunity that others don’t see?
  • Customers won’t care about any particular technology unless it solves a particular problem in a superior way.
  • cleantech executives were running around wearing suits and ties. This was a huge red flag, because real technologists wear T-shirts and jeans.
  • never invest in a tech CEO that wears a suit
  • An entrepreneur can’t benefit from macro-scale insight unless his own plans begin at the micro-scale.
  • No sector will ever be so important that merely participating in it will be enough to build a great company.
  • But a valuable business must start by finding a niche and dominating a small market.
  • O F THE SIX PEOPLE who started PayPal, four had built bombs in high school. Five were just 23 years old— or younger. Four of us had been born outside the United States.
  • IF EVEN THE MOST FARSIGHTED founders cannot plan beyond the next 20 to 30 years, is there anything to say about the very distant future?

And then, as it usually happens, I discovered this one

Today Social Media is my Primary News Source

From The New Age of Platforms is a  great read. I particularly resonate with:

Today, social media is my primary news source for many areas I’m  interested in.  That’s not a function of the platforms themselves, but rather of who I’m connected to—experts in particular fields who have ready access to information that would be hard to find anywhere else.

Let me mention three instances on the influence of these people I follow on Twitter, Facebook, LinkedIn and other sources (blogs):

  • A lot of books I bought last year, came from mentions in podcasts I like and blogs I read (Tim Ferriss and Maria Papova for instance)
  • Most of the technical books I read and the webinars I attend come from some of the most influential people I follow on Twitter.
  • A lot of literature I collect and research for Data Science comes from @kdnuggets and other similar sources

I do have a List called News on Twitter and follow most of the popular news sources in India and US. However, I visit it a lot less and prefer to read from my “Daily” list.

The people I choose to follow are my filters. I read their posts more than I do the “other” reading.

 

LinkLog: Content Marketing and Sales

How Does Content Marketing Actually Get You More Sales? A good article, worth reading if you are an entrepreneur or in marketing:

There is a big misconception that content marketing doesn’t drive sales. But if it didn’t work well, none of my companies would exist.

From KISSmetrics to Crazy Egg, I’ve grown each of my businesses through content marketing.

To prove to you that content marketing drives sales, I’m going to share with you stats and data points from KISSmetrics to show just how effective content marketing is.

Insights into IOT

The Internet of Things, or IoT, may be the most important online development yet

First thing in a new technology, people do all the obvious things that look like the old market, but more efficiently. In the Internet, GNN had web ads like old newspaper ads. Later there was Google search, which was a different way of doing advertising, by focusing more on data. Now we’ve got social search, social networks. The business model moves to something that is more native to the technology.

Nice Read – A Push Down Goal Stack

The c2 wiki never ceases to amaze me.  It carries the evolution of ideas and thinking about software development. A lot of those ideas are good Life Hacks too.  Every time I go there to read, I find it difficult to leave. There are lots of good ideas there to reflect on. Here is one of them.

Situation: You have a push-down stack for all your goals. When you hit an obstacle, you push “remove the obstacle” onto the stack. Then, when the obstacle is cleared, you pop the stack, and you are back at your original problem.Problem: For some reason, the problems you push onto the stack keep getting bigger and bigger and bigger, dwarfing the original problem, each one dwarfing the one before it.Forces that seem to make this problem necessary or inevitable:

  • A stack is easier to understand and use than some more complicated goal structure. And, goals seem to be hierarchical. Stacks are good for traversing hierarchies.
  • The bigger problems, if solved, will make a number of other problems easier, not necessarily just the one you originally wanted to solve. They may have value in their own right. They are worth solving thoroughly.
  • The goal inflation is not infinite; it seems that the goals shrink down again to something reasonable after the stack gets to a depth of about seven or so.
  • If you’re just having fun, you might have fun exploring all these different things.
  • But you’ve only got so much time, and you don’t want to give up your original goal, nor do you want to delay it for years and years. You feel like you are working on the irrelevant.

My own push down stack of hierarchy of needs for Build Skills (just to make it easier to read, I have reversed the stack).

  • What skills will have most impact?
  • Job Skills for students – because it helps them to leverage learning to find (better) jobs. But it also gets them an early start to focus on things that matter in real life.
  • What are Job Skills (I focus on tech jobs because that is what I know best)? Software Skills and Communication Skills.
  • Software skills gives them knowledge and confidence. Both are needed to get good jobs from cool companies (BTW, my concept of good jobs is certainly not working for one of the Big Companies). In the beginning every one should work for small/medium startups where their work has some impact.
  • How do they acquire software skills? They can start with a simple yet powerful language like Python (or Ruby, PHP).  They need to build something useful and usable.
  • Why communication skills? For a developer, communication with the team is very important.
  • What are specific ways of practicing communication skills in software? The  Programmer’s Food Pyramid has a nice model to start with.
  • They have to learn to explore, experiment. They also need to learn to learn.