RSS
 

This thing of ours, has gone mainstream

14 Nov

You know that something has really gone mainstream when it appears on a South Park Episode. This year it appears as if Trey Parker is actively reading Hacker News. Things I thought only belonged on Hacker News front page are now appearing on South Park episodes, software is really eating the world. If you doubt it, watch south Park’s current season.

South Park Season 18
Episode 1 – Go fund yourself – about startups and crowdfunding, features kickstarter
Episode 4 – Handicar – About Car sharing, and Electric Cars features Lyft, Uber, Tesla and Elon Musk
Episode 5 – The Magic Bush – About Drones and privacy
Episode 6 – Freemium isn’t Free – About Freemium and mobile apps business models.
Last night’s episode 7 – Grounded Vindaloop – About virtual reality. Features Oculus freaking Rift.

Big question, what is Trey Parker’s Hacker News handle.

South Park is the definition of mainstream, the discussions on HN that we thought the rest of the world would not care about is now the center and focus of the mainstream. Now is definitely a good time for kids to start learning programming.

 
 

Startup idea: Elastic Cloud for Music

24 Sep

I would like to see a music streaming service with a vast music collection similar to Spotify and Rdio but instead of providing an app and charging users for subscription, this startup would simply provide an API that gives developers access to build apps with their music collection and charge developers for bandwidth and storage, similar to the way Amazon s3 charges for bandwidth and storage.

It would be like the early days of twitter when developers could plug in to twitter’s pipeline and build social apps, but the difference here is that is that this startup already has a business model. So no conflict of interest with third party developers.

With the creativity of developers I can only imagine the diversity of music apps we could see from this. Developers with special interest in certain music genres could create human curated music apps for the genre. There will be genre specific music discovery apps and music streaming apps that are tailored for specific situations.

I hope someone would build this service.

 

First computer scientists to win an Oscar

29 Jan
Loren Carpenter, Rob Cook and Ed Catmull

Loren Carpenter, Rob Cook and Ed Catmull

In 2001, Loren Carpenter, Rob Cook, and Ed Catmull of Pixar won an Oscar for significant advancements to the field of motion picture rendering. It was the first time for software developers to win an Oscar.

April 2001 IEEE Spectrum

The above is the cover of April 2001 IEEE Spectrum magazine,  I still remember it,  I was a computer science student in Nsukka, Nigeria, back then, and I remember, this cover and this article in the magazine, was among the most inspirational things I ever read as a computer science major in Nigeria.

 
No Comments

Posted in Business

 

Most Hated Programming Languages on Hacker News

11 Oct

From the recent poll on Hacker News “Poll: What are your liked and disliked programming languages?” I compiled a list of all the programming languages ordered by the percentage of their dislike votes. Cobol & Coldfusion are the two most hated languages with 94% dislikes. C & Python still gets a lot of love as the two most liked languages. I find it strange that my favorite language Ruby is not even in the top 15 most liked. Most Rubyists believe Ruby is the best scripting language to ever run on a computer, but 38% of these votes don’t agree, Ruby and Javascript are tied at 38% dislikes.

Complete list (Ordered by Percentage of Dislike votes:
Cobol – 94%
Coldfusion – 94%
Visual Basic – 88%
actionscript – 82%
PHP – 76%
Rexx – 72%
Groovy – 69%
Fortran – 67%
Java – 67%
Tcl – 64%
Perl – 61%
Delphi – 60%
C++ – 58%
Objective-C – 58%
CoffeeScript – 55%
Pascal – 48%
ada – 47%
R – 45%
Shell – 44%
D – 39%
Other – 39%
JavaScript – 38%
Ruby – 38%
Scala – 38%
Forth – 31%
Smalltalk – 30%
Assembly – 29%
C# – 29%
SQL – 28%
Ocaml – 27%
F# – 27%
Go – 24%
Erlang – 23%
Clojure – 21%
Rust – 21%
Haskell – 20%
Lisp – 18%
Lua – 16%
Scheme – 15%
Python – 13%
C – 12%

 
 

Intel’s Original Business plan

14 Sep

Intel’s original one page double-spaced business plan for investors, as typed by Robert Noyce:
intel original business paln

Sources:
Something Ventured
http://fromabctoxyz.blogspot.com/2005/11/intel-business-plan-july-1968.html
– Intel Museum and Darius Mahdjoubi, October 2005

 
No Comments

Posted in Business

 

Ruby Class Variables in the main context

05 Sep

Since ruby class variables belong to the class hierarchy, all objects in that class hierarchy all the way up to ruby’s main object, share the same class variable. This could lead to unexpected behavior, especially since the class variable can be modified in the main context. See below modifying @@name in the main context changes its value on all objects.

class Cat
end
 
class Tiger < Cat
  def me
    @@name = 'tiger'
  end
 
  def show
    @@name
  end
end
 
tiger = Tiger.new
 
tiger.me
#=> "tiger"
 
tiger.show
#=> "tiger" 
 
class Cat
  def me
    @@name = 'cat'
  end
 
  def show
    @@name
  end 
end
 
cat = Cat.new
 
cat.me
#=> "cat" 
 
cat.show
#=> "cat"
 
tiger.show
#=> "cat"
 
@@name = 'animal'
#=> "animal" 
 
cat.show
#=> "animal"
 
tiger.show
#=> "animal"
 
 

Coffeescript Cheatsheet for JQuery

02 Sep


Corrections and suggestions are welcome.

 
 

More readable Javascript code

30 Aug
// BAD
$( document ).ready(function() {
 
    $( "#magic" ).click(function( event ) {
        $( "#yayeffects" ).slideUp(function() {
            // ...
        });
    });
 
    $( "#happiness" ).load( url + " #unicorns", function() {
        // ...
    });
 
});
 
// BETTER
var PI = {
 
    onReady: function() {
        $( "#magic" ).click( PI.candyMtn );
        $( "#happiness" ).load( PI.url + " #unicorns", PI.unicornCb );
    },
 
    candyMtn: function( event ) {
        $( "#yayeffects" ).slideUp( PI.slideCb );
    },
 
    slideCb: function() { ... },
 
    unicornCb: function() { ... }
 
};
 
$( document ).ready( PI.onReady );

Source:http://learn.jquery.com/code-organization/beware-anonymous-functions/

 
 

gem install worldpeace

06 Aug

What’s the one gem you wish existed but doesn’t?

https://rubygems.org/search?utf8=%E2%9C%93&query=worldpeace

 
 

Could Dancing Have an Algorithm

13 Jun

This Choreography qualifies as a technical post. I really want to tag it as programming.

Source: https://www.youtube.com/watch?v=HHwVfO1hvs0

 
 
Premium Wordpress Plugin