Better HN
topnewbestaskshowjobs
Log inSign up

icky

1,032 karma · joined Mar 28, 2007 (19y ago) · 539 submissions

(I am __NOT__ user 'icky' from reddit.)

I love to code. :D

Submissions

comment 18y ago · link · parent

Yeah, but you could still go bankrupt defending the patent case to test the ruling!

comment 18y ago · link · parent

Lies!

comment 18y ago · link · parent

This is neat.. you should sell ad space to travel companies. (Hell, you could even sell travel ads based on the location that the user is currently viewing)...

comment 18y ago · link · parent

> we can't justify spending insubordinate amounts of time

inordinate

comment 18y ago · link · parent

Au contraire. If someone says that doing something or going somewhere is a waste of time, I'd be much more inclined to listen if he had actually done so himself.

comment 18y ago · link · parent

> One thing I dont understand is

> print word

> where does "word" come from?

    >>  def Monkey(word):
    >>        class _Monkey(object):
    >>            def shout(self):
    >>                print word
    >>        return _Monkey
Note that Monkey is a function that takes a parameter word. So every invocation of Monkey creates a class that will always .shout() the parameter word.

> Anyway, this setup is in no way different to ruby's super

> super("foo") super("bar")

No.

    >>    class Chimp(Monkey("foo")):
    >>        pass
    
    >>    class Gorilla(Monkey("bar")):
    >>        pass
You'll note that these two class definitions create a class Chimp that's descended from a class like _SomeMonkeyThatSaysFoo, and a class Gorilla that's descended from a class like _SomeMonkeyThatSaysBar.

That is what the parent poster has challenged anyone to reproduce in Ruby.

> Grow up. Use what you prefer, and end this stupid war.

Programming language wars are at least as old as the Internet, so the admonition to "Grow up" hold no water in this case.

I could quite reasonably parody your closing statement as: "Grow up. So who cares whether a hammer or celery makes a better tool? Just leave us alone, hammer-users."

comment 18y ago · link · parent

It plays kind of like an old realtime not-really-Roguelike called Castle Adventure.

comment 18y ago · link · parent

I was in high school, basking in the myth that we programmers would simply pick from among our countless job offers, deigning to work at the cushiest one, spending all day playing foosball, nerf darts, Quake, spinning around in our Aeron chairs, drinking free soda, and watching our stock options make us millionaires while we occasionally sauntered over to the keyboard to peck out a few (godlike) lines of Perl.

I graduated high school in 2000, and it was a rude awakening.

comment 18y ago · link · parent

I prefer git because my work uses SVN, and nobody needs to know I'm using git-svn.

Add git rebase -i into the mix, and I can wrap up all my externally-uncommitted changes into one perfect changeset.

comment 18y ago · link · parent

Upvoted for non-ignorance. ;)

comment 18y ago · link · parent

> Facebook has said it’s not planning to IPO anytime soon

Exactly how do they plan to let employees sell stock without accidentally becoming a public company?

Is this stock being sold back to the company itself?

comment 18y ago · link · parent

> But if you have want some metric of "fairness", then looking at free time is better than looking at hours worked - because that way you measure sacrifice, and a relation between sacrifice and compensation is seen by many as fair.

A better metric of fairness would be, how equal were the opportunities to become profession X?

If being a banker is so great, and being a teacher is so (comparatively) awful, then wouldn't it be fairer to simply equalize the opportunities, and let a glut of bankers and a shortage of teachers balance out the wage difference?

comment 18y ago · link · parent

Or just use TrueCrypt with a hidden volume.

comment 18y ago · link · parent

> "But did they work 10 times as hard as a teacher on £30,000 a year or, in the case of some lawyers and bankers, 100 times as hard?"

> It's not about how hard you work, it's about how much free time you have left AFTER work.

Your suggestion-- that income should be justified based on how much of someone's life is eaten by their job-- smacks of the same kind of moralistic posturing for which you criticize the author of the original piece.

Rather than try to morally justify or attack these inequalities (which I regard as silly as trying to morally justify or attack a rainstorm), I'd like to explore ways that the aforementioned teacher might slice himself a bigger piece of the pie.

Imagine that teachers were all free agents. Self-employed contractors free to negotiate their own rates for their services, and free to choose their students from the applicants they consider most promising.

The better teachers would probably make more money than they do under the current system, but still probably nowhere near as much as the successful banker or lawyer.

The exception might be the exceptional teacher who already has a track record of producing Nobel laureates, world leaders, curers of disease, self-made billionaire inventors, etc.

By the time this teacher could command the truly huge rates, he would be pretty old, and might well consider this new windfall to be merely the capstone of an already satisfying and distinguished life.

But the banker and the lawyer sink or swim based on goals that are directly measurable in the short term, so the same cycle that I've postulated for the old teacher (perhaps several lifetimes old!) can happen on a scale of months or years.

So, to achieve parity with the world-class banker or lawyer, the world-class teacher needs not just free-agency, but fine-grained, objective, fast turnaround metrics of performance that directly correlate with economic return.

comment 18y ago · link · parent

At the time of this posting, your post is 43 minutes old.

Do you still not know who Mitch Kapor is?

comment 18y ago · link · parent

Are you a lawyer?

Is this legal advice?

comment 18y ago · link · parent

My worst mistakes were in doing what was expected of me, rather than what I wanted to do.

comment 18y ago · link · parent

Finally, I can have that useless lump of pinkish-grey jelly work for me!

comment 18y ago · link · parent

Irate Customer: "Come on, people. This experimental rocketry stuff isn't rocket science!"

comment 18y ago · link · parent

(First off, let's be clear that I'm using "real" and "imaginary" in the context of the fictional world of the comic strip).

The portion of Hobbes that is real is just an inanimate stuffed toy tiger. Hobbes as a motile, living, thinking being exists entirely as a figment in Calvin's mind, projected into the object of the toy tiger. So Hobbes the toy is real, while Hobbes the being is imaginary.

comment 18y ago · link · parent

... by enabling sexually-reproducing organisms to marry? ;)

comment 18y ago · link · parent

Perhaps you should invest in a pair of glasses.

comment 18y ago · link · parent

> - Borders bookstores are more like it, if you need ot look up K&R, gang of 4, whatever, there it is. BUt the wireless routers have limited range.

That's when you chip in with your friends/coworkers, get one wireless account (assuming you all go to the same store on a reasonably fixed schedule), and bring in some dd-wrt/openwrt/tomato routers (with all but one of them in bridge-mode), and have the master router set up with WPA2 on your side and either OpenVPN at the router level, or just use whatever external SSH boxes you've got as SOCKS proxies. (If you care, remember that Firefox doesn't proxy DNS requests over SOCKS unless you set the about:config item network.proxy.socks_remote_dns to true).

Also don't forget to bring power strips, since you're bringing in more hardware.

comment 18y ago · link · parent

Set their login shell to /usr/games/nethack

comment 18y ago · link · parent

> This is a silly attitude. Ultimately everybody is fucking everybody else over simultaneously. You fuck your boss over as your boss fucks you over. You fuck your employees over, and they fuck you over too. Occasionally you'll get fucked over by someone you can't fuck over, like the phone company, but the chances are that they're being fucked over by somebody who's being fucked over by somebody you're fucking over, so it all evens out in the end.

You wouldn't be working in the porn industry, perchance?

comment 18y ago · link · parent

Jobs minus Hobbes minus Calvin?

(Hell, Hobbes minus Calvin would be trippy enough, since Hobbes is the imaginary friend...)

comment 18y ago · link · parent

[Spoiler:]

I always assumed that the Joker had secretly swapped the detonators (i.e., you push the button, and the ship you're on is the one that goes).

comment 18y ago · link · parent

I usually whip up a dirt-simple "Django-inspired" WSGI microframework (regexp-based url dispatcher, RESTful views, jinja or genshi templates, decoupled optional request and response objects (no shared state between requests), signed-cookie-based sessions, etc.) based on what I need as I go.

Instead of using an ORM, I've discovered an amazingly flexible, efficient DSL for dealing with Postgres. It's called SQL. ;-)

I wrap my model objects around sql queries, so, externally, the objects have a nice ORMey OO interface, but internally I can do all sorts of wonderful Postgresql magic).

After the first time you do it, making a new microframework usually takes less than a day, depending on what else I have to get done. (The reason I reimplement is to prevent myself from adding useless features that I "might" need someday on some future project).

One of these days, I might release one, but strictly as a code-dump example, not as an ongoing project.

(Back on topic, my recommendation to the OP is to start with Django. It's beautifully designed, and has served me well even after I stopped needing its code).

comment 18y ago · link · parent

> It also seems that Danes are held in some regard internationally

We're actually just flattering you so you won't come pillage our coasts anymore. ;-)

comment 18y ago · link · parent

Madness and genius actually form an intersecting Venn diagram. This falls squarely in the middle.
12345
18