May 21st, 2013
In Business
No Comments
I think this is a kind of amazing confession:
In short, I can’t help feeling that the gold bugs are right. No, I’m not stashing gold bars under my bed. But that’s only because I lack the courage of my convictions.
My fear is not the result of economic analysis. It’s more from the realm of psychology. I mean mine.
…
But this cure has been one ice-cream sundae after another. It can’t be that easy, can it? The puritan in me says ...
Read More
Source
May 16th, 2013
In Technology
No Comments
The most abstracted and de-coupled and object-oriented framework that I have worked with is Symfony, and it is also the framework that has broken backwards compatibility the most often, during the last 5 years. I started working with Symfony in early 2008, and it has been constantly refactored during that time, and each refactoring has broken something important.
It is difficult to explain why I dislike Symfony so much. For awhile I would have said it was their envy of ...
Read More
Source
May 16th, 2013
In Technology
No Comments
My co-worker Erick sends me this:
Yea, if you go to ifconfig.me you get all sorts of info from the view of the internet. You can even get the info from command line. For example curl ifconfig.me/ip will give you the public IP address (See the Command Line Interface section from the website).
However do note, that this IP address represents the Internet address for the entire office. If a specific server should only be allowed to access a ...
Read More
Source
May 14th, 2013
In Technology
No Comments
This tutorial is good. I am now sad that I wasted days finding this information in scattered places, because this one tutorial brings it all together in one place. I am going to link to it in the hopes that Google will rank it more highly in the future.
Source
May 14th, 2013
In Technology
No Comments
I was a fanatic proponent of PHP, back around 2000. If I wanted to build a website, I could use Java or Perl or PHP. The choice was straightforward. Java was complex, and any change demanded that the code be recompiled. Perl had a small core and a million libraries that you needed to bundle in, so it was a little bit like Java in that you had to assemble a lot of different pieces. PHP was a light weight, ...
Read More
Source
May 9th, 2013
In Technology
No Comments
Spent some serious time trying to track down this answer. My company has a Sinatra app running via Heroku. I just started working at a new office that has never had access to these apps. How do I whitelist my IP address so I can reach the AWS server and run a command like mysqldump? Can I do that via the Heroku toolset? No. Apparently I need to log into the AWS console. These are useful resources:
Connecting Your ...
Read More
Source
May 8th, 2013
In Business
No Comments
Every industry eventually consolidates. And the web is less open than it was 10 years ago. When does the current era end? When does capital regain the upper hand?
In the second tier, the hustler class of new-money industrialists produced a first generation of Robber Barons, and then an asymmetric balance of power between bankers and second-generation hustlers who aspired to Robber Baron level fortunes (egged on by Horatio Alger narratives), but ended up as the tame new middle class. How ...
Read More
Source
May 6th, 2013
In Technology
No Comments
This is a great post on how to restore MongoDb from backups.
Source
May 4th, 2013
In Technology
No Comments
A friend sends me this in an email:
The unfortunate bit is that IMO, the DevOps role was created to handle the headache part, so the engineers can spend more time doing the fun parts.
This is an anti-pattern. When your company does this, it is making a mistake.
Source
May 4th, 2013
In Business
No Comments
It makes sense to me that a man who hates all gays also is in favor of fiscal restraint, as fiscal restraint during a recession is simply a ways of expressing hatred for the poor and working classes. This guy hates everyone is not already part of one of society’s favored groups.
Harvard Professor and author Niall Ferguson says John Maynard Keynes’ economic philosophy was flawed and he didn’t care about future generations because he was gay and didn’t have ...
Read More
Source
May 3rd, 2013
In Technology
No Comments
This killed a whole day for me. I kept running:
heroku db:pull –app ny-offers
I needed a local copy of this database. The download would get halfway and then die:
I did some research and decided the problem was net_read_timeout or net_write_timeout in MySql. So I adjusted both:
set @@net_write_timeout = 1800;
set @@net_read_timeout = 1800;
That didn’t help.
So then I thought I could use mysqldump. I followed the directions in that post. But my IP was not whitelisted so I was not allowed ...
Read More
Source
May 1st, 2013
In Technology
No Comments
I am surprised by the continued rise of Javascript, a somewhat flawed language that has now become a universal target for dozens of other languages. I am stunned by the thought that creating Javascript might become the “killer app” that brings Clojure into the mainstream.
I was highly resistant to learning ClojureScript, but I want to experiment with LightTable, so I guess I need to learn ClojureScript (which I gather is the language for writing plugins for LightTable).
Source
May 1st, 2013
In Philosophy
No Comments
I think this is the only way to stay sane when you are in a fast-changing environment. Develop sane defaults and stick to them. You can not re-think every decision every day. No one has that kind of omni-directional brain power.
After reading this article in Vanity Fair on Obama, there was one piece that stuck out to me. As the author interviewed the president, he said “You’ll see I wear only gray or blue suits. I’m trying to pare down ...
Read More
Source
April 26th, 2013
In Philosophy
No Comments
What is the point of intelligence? Why should anyone want to be intelligent? Is there anything useful in intelligence? I am confused by an essay that argues that George W Bush was very intelligent. If he was, then we can conclude that intelligence is not important in a leader, and there must be some other quality that we associate with great leaders.
For more than six years it was my job to help educate President Bush about complex economic policy ...
Read More
Source
April 25th, 2013
In Technology
No Comments
I have started using Expectations, which is a testing system created by Jay Fields. I really like Expectations. It is very minimalist, which I like a great deal.
Source
April 24th, 2013
In Business
No Comments
This question occurs to me a lot. If the government never threatens to arrest you, then how do you know if you are really pushing against the limits? If you play it safe, and avoid any government threats, then are you really being innovative? Here is a guy who was willing to take big risks:
My first startup landed me in prison. Imagine a company that allowed people to eliminate the financial burden of paying for a luxury or ...
Read More
Source
April 23rd, 2013
In Philosophy
No Comments
Nothing in this post should be read as a criticism of either Paul Krugman or danah boyd. They are both writers that I admire. They both maintain blogs that I have been following for 7 or 8 years. They are both politically of the left, progressive and committed to humane values. And they both sometimes write informally academic things on their blogs, and other times personal things on their blogs. And I have the impression that danah boyd faces much ...
Read More
Source
April 23rd, 2013
In Technology
No Comments
A great writeup of several different process managers, that help with daemonization and restarts:
Monit is an established player in the process management game. Its sole purpose is to monitor daemon processes, files, directories, filesystems, etc on your server and respond with appropriate actions whenever something is not as it should be.
Sample
Here’s a simple configuration to monitor an SSH server daemon process:
1
2
3
4
5
6
set daemon 60 #check interval in seconds
check process ssh with pidfile “/var/run/sshd.pid”
start ...
Read More
Source
April 23rd, 2013
In Business, Technology
No Comments
I just went through something just like this. Interesting:.
It was the , and I was a young developer 1. In college, I had aced coding exercises, as a junior dev I had cranked out code to solve whatever problems someone specified for me, quicker than anyone expected. I could learn a new language and get productive in it over a weekend (or, so I believed).
And thus, in the natural course of things, I got to run my own project. ...
Read More
Source
January 10, 2012 1:09 pm
From lawrence on Fred Dewey is misunderstood
"Thank you, Charlotte. But what is the main advantage of Kachingle for you? You could perhaps find a more direc..."