Recent submissions

Comment · 13 years ago
This doesn't make the target object read-only - it just returns a reference to it.

  data = {one: "one"}
  ref = makeRef(data)
  ref().two = "two"
  
  data
  => Object {one: "one", two: "two"}
Comment · 13 years ago
Just delete the modal from the DOM and you'll have full access to the article.
Comment · 13 years ago
5 year ban for parking violations? That seems extreme.
Comment · 13 years ago
Wow.. this is amazing. I'm kind of blown away by how cheap it is. Is this your permanent residence or a vacation home? Does it feel weird to not have neighbors?
Comment · 13 years ago
Most automated phone systems will connect you to an operator if you press 0 repeatedly (as in 10 to 20 times in a row). There's almost always a way to get around automated phone systems.
Comment · 13 years ago
It's simple. People who have more experience generally demand higher salaries. The company in question is probably seeking someone who's fairly experienced but doesn't have the budget to afford a superstar.
Comment · 13 years ago
>Regardless, I think the author's point was more that there's nothing "special" about getters and setters in Ruby. They're just plain ol' methods.

Ah, that's a good point. That seems to be a more accurate interpretation of what the author was trying to express.

Comment · 13 years ago
Ruby really is a great language. The author just posted a poor example that is frankly NOT idiomatic Ruby. The proper way to create a getter and setter method on an instance variable is like so:

  class Person
    attr_accessor :sanity

    def initialize
      @sanity = 50
    end
  end
Comment · 13 years ago
And by "automatic classification content filter" they mean "someone manually added the Guardian to a blacklist".
Comment · 13 years ago
How far do you take this? Kickstarter is a business and needs to make money.

Should it be acceptable for people to Kickstart escort businesses, "legal high" websites, or Amway pyramid schemes? All of those things are legal but are seen by the public as being slimy and taboo. Why would Kickstarter want to associate with these people?

Comment · 13 years ago
Kickstarter is a business and has no obligation to uphold free speech. They need to curate their projects to protect their reputation. What if they allowed filmakers to Kickstart porn movies? You could call it free speech and make no judgments about the act itself, but at the end of the day people would start to see Kickstarter as a slimy business that's willing to host any project as long as they get a cut of it.
Comment · 13 years ago
Comment · 13 years ago
Comment · 13 years ago
Thanks for making it! Computer security is a fascinating field that I've only begun to dive into recently.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton