Skip to content

Instantly share code, notes, and snippets.

@benforeva
benforeva / Design.md
Last active December 11, 2015 19:28
Steve Jobs on design

Most people make the mistake of thinking design is what it looks like. People think it’s this veneer - that the designers are handed this box and told, ‘Make it look good!’ That’s not what we think design is. It’s not just what it looks like and feels like. Design is how it works.

Steve Jobs

To some of us, writing computer programs is a fascinating game. A program is a building of thought. It is costless to build, weightless, growing easily under our typing hands. If we get carried away, its size and complexity will grow out of control, confusing even the one who created it. This is the main problem of programming. It is why so much of today's software tends to crash, fail, screw up. When a program works, it is beautiful. The art of programming is the skill of controlling complexity. The great program is subdued, made simple in its complexity.

Marijn Haverbeke, Eloquent Javascript

@benforeva
benforeva / The programmer's block.md
Last active December 18, 2015 16:39
Why your code will be crap and why that is ok.

Writing software is akin to writing a novel in that it is sometimes difficult for the author to get started. One way to overcome this fear is to keep in mind that your first draft will not be perfect. the first stage in writing is to put all your thoughts down despite their lack of polish. The author should write, evaluate the written word, refine concepts and characters and develop new ideas. In a similar fashion the programmer can overcome her fear of writing code at the start of a project. No matter how bad the intial code is, she can evaluate and refactor it to make it better.

@benforeva
benforeva / UNPSA Presentaion.md
Last active December 18, 2015 17:29
Presentation for UNPSA - Infrastructure for Whole of Government Approach Best Practices

ABSTRACT

This talk is an overview of the Trinidad and Tobago experience in Whole of Government approaches. Overview of country e-governance framework Overview of the TTBizLink initiative Overview of the TTBizLink infrastructure Experiences on solutions to problems in e-Government in Infrastructure

Talk Guidelines

To enrich the capacity building workshops and share your experiences on new innovations, trends, emerging issues and solutions to common governance challenges. Speaking time is 12- 15 mins max

@benforeva
benforeva / Clojure dev vagrantfile.rb
Last active December 26, 2015 15:49
A vagrantfile that sets up a Clojure development environment on Ubuntu
# -*- mode: ruby -*-
# vi: set ft=ruby :
$script = <<SCRIPT
echo I am provisioning...
date > /etc/vagrant_provisioned_at
echo installing git...
sudo apt-get update
sudo apt-get install -y git-core
echo installing java...
@benforeva
benforeva / Ruby dev vagrantfile.rb
Last active December 26, 2015 15:49
A vagrantfile that sets up ruby for a development environment on Ubuntu.
# -*- mode: ruby -*-
# vi: set ft=ruby :
$script = <<SCRIPT
echo I am provisioning...
date > /etc/vagrat_provisioned_at
echo installing git...
sudo apt-get update
sudo apt-get install -y git-core
echo installing curl...
sudo apt-get install -y curl
@benforeva
benforeva / Meteor dev vagrantfile.rb
Last active December 31, 2015 08:09
A vagrantfile that sets up meteor & meteorite for discover meteor book example.
# -*- mode: ruby -*-
# vi: set ft=ruby :
$script = <<SCRIPT
echo I am provisioning for meteor vm...
sudo apt-get update
echo installing git...
sudo apt-get install -y git-core
echo installing curl...
sudo apt-get install -y curl
@benforeva
benforeva / gist:70ad3ad5bc554f9e122d
Created June 19, 2014 02:08
Software is eating the world
This week, Hewlett-Packard (where I am on the board) announced that it is exploring jettisoning its struggling PC business in favor of investing more heavily in software, where it sees better potential for growth. Meanwhile, Google plans to buy up the cellphone handset maker Motorola Mobility. Both moves surprised the tech world. But both moves are also in line with a trend I've observed, one that makes me optimistic about the future growth of the American and world economies, despite the recent turmoil in the stock market.
In an interview with WSJ's Kevin Delaney, Groupon and LinkedIn investor Marc Andreessen insists that the recent popularity of tech companies does not constitute a bubble. He also stressed that both Apple and Google are undervalued and that "the market doesn't like tech."
In short, software is eating the world.
More than 10 years after the peak of the 1990s dot-com bubble, a dozen or so new Internet companies like Facebook and Twitter are sparking controversy in Silicon Valley, due to th
@benforeva
benforeva / Clojure Logistic Map.clj
Last active August 29, 2015 14:07
Logistic Map
(defn logismap [x0 n R]
(loop [acc x0 cnt 0]
(if (= cnt n)
acc
(recur (* R acc (- 1 acc)) (inc cnt)))))
Verifying my Blockstack ID is secured with the address 1H629c7phhM6f9wddFKTXzaw1puFqZ8gK8 https://explorer.blockstack.org/address/1H629c7phhM6f9wddFKTXzaw1puFqZ8gK8