Recent submissions

Comment · 14 years ago
> When the number of "moving parts" created by your abstractions outnumbers the actual bits its abstracting, then you know your design took the wrong turn somewhere.

This is an interesting point which I agree with and is usually where I end up. In the past I've started from the opposite end, creating multiple modules, class hierarchies, etc. This future proofing has made things harder for me to follow/understand when reading at a later date. It has become tiresome and now I consciously start at the other end, making the simplest thing that could work. Layers of abstraction then come naturally as needed.

Comment · 14 years ago
Comment · 14 years ago
I needed this in a rake task under Rails 2 a while back; I ended up doing the following:

  require 'action_controller/integration'
  app = ActionController::Integration::Session.new

  module CurrentUserHack
    def current_user 
      @user ||= User.look_up_my_user_here
    end
  end
  ApplicationController.send :include, CurrentUserHack
Now you can make authenticated requests in rake tasks and presumably in script/runner.
Comment · 15 years ago
I am genuinely surprised at how much others spend on software. I started totaling up his list (excluding monthly services like dropbox) and stopped when I reached $500, which was right around Cornerstone.
Comment · 15 years ago
Comment · 15 years ago
You down voted my question but still did not provide a concrete example.
Comment · 15 years ago
> Money moving from one place to another does not always help the economy. When money flows from the corporate coffers directly into the private accounts of its executives, generally little of that money actually flows into the greater economy.

Can you give an example of how this would hurt the economy?

EDIT - those that down voted, mind giving a reason?

Comment · 15 years ago
Comment · 15 years ago
I agree that the change will cause a lot of pain, however early adopters tend to have a high tolerance for pain. If you don't want to deal with the pain or are running a server (your EC2 mention sounds like a server), you probably want to avoid cutting edge distros like Fedora.
Comment · 15 years ago
Check out Mondrian: http://mondrian.pentaho.com/ I used it a couple years back at a startup. It's written in Java and IIRC works (only?) with MySQL. Mondrian took a bit of work to get setup, mostly due to my lack of OLAP knowledge at the time, but once setup, it was pretty nice and fast. I think it uses materialized views for the cube data. I'm actually working on a new project where an OLAP will be nice. Thanks for posting Brewery, I'll definitely give it a spin. OLAP's don't get much love, but are very useful for certain types of problems.
Comment · 15 years ago
Background: http://sheddingbikes.com/posts/1306816425.html

In all fairness, the guy was being a dick (no pun intended) to Zed. However, Zed should have kept the insults to the troll and left Github, Powerset, Engine Yard, and the Ruby community out.

Comment · 15 years ago
Comment · 15 years ago
The girlfriend mentions seemed irrelevant and out of place. I've noticed lately that more and more technical bloggers try to inject this fictional writing style to draw in readers. Most of the time it's so out of place that I immediately stop reading. My preference though is terse articles for technical discussions.
Comment · 15 years ago
Comment · 15 years ago
I purchased my first CD set yesterday. They provide great tools (OpenSSH, tmux, and of course OpenBSD) which save me time and money and make my life easier.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton