Recent submissions

Comment · 4 years ago
It's slightly more complicated in practice. The US has this weird system where you can opt out of full union membership and become what's called an "objector". You opt out of union membership but still pay a portion of dues (those directly around contract negotiation and the like), and you're still covered by the collective bargaining agreement. The downside being that, as you're not a union member, you generally don't get voting rights.

To quote the NLRB's website directly:

> Federal law allows unions and employers to enter into "union-security" agreements which require all employees in a bargaining unit to become union members and begin paying union dues and fees within 30 days of being hired. Employees may choose not to become union members and pay dues, or opt to pay only that share of dues used directly for representation, such as collective bargaining and contract administration. Known as objectors, they are no longer union members, but are still protected by the contract. Unions are obligated to tell all covered employees about this option, which was created by a Supreme Court ruling and is known as the Beck right.

This usually works well enough, but in certain circumstances, you can have a small minority control the entire operation and the vast majority are "represented" by an institution they have no voice in. This seems to be the case in lower paid unions (e.g. grocery baggers) because the majority can't afford the extra dues.

Comment · 4 years ago
I appreciate the link, thank you.
Comment · 4 years ago
Given the context of this thread (comparison of ruby and python), it should be noted that python also has this. You can decorate a method with `@property` and call the method without parentheses.

It's really nice because it means you don't have to pre-wrap all of your properties with accessor methods. They can just be properties, and if something changes, you swap the property out with a decorated method and you don't need to change any code.

Comment · 4 years ago
> but I feel like it makes it very difficult to reason about performance

This seems like a form of premature optimization.

I mean, you're not wrong technically, but if you were exceptionally performance concerned, you probably wouldn't be using ruby.

If you're just regular performance concerned (i.e. you want to stop pathological behavior in the hot loop), you're really only concerned about 1-2% of your code. You wait until it's an issue, run a profiler over your code and optimize the couple of parts that are causing the issue.

Comment · 4 years ago
They mention doing this a decade ago. They were probably using utilities to manage downloads from the ruby application archive (which would have still been around at the time) and automate running `setup.rb`
Comment · 4 years ago
> Sure the water in that creek might be falling hundreds of meters, or even kilometers, but without a dam the height differential at your generator is only going to he a few metres at best. Enough to power the lighting, fridge, and washing machine in the houses that the creeks happen to run by, but not much else.

Could be, but that's a bunch of stuff you don't have to power with the existing system. Given how many creeks there are, that seems like it could really add up.

> With the advent of long lasting perovskites and (hopefully) some less polluting battery technologies you're not even better off cost-wise.

That's fair. I've learned in my life that I don't have a good intuition for what the costs of large infrastructure projects are.

Comment · 4 years ago
That really depends on what percentage of water's potential energy is expended in small creeks and the like vs big rivers.

I actually have no idea how to estimate that. Anyone have a good estimate on that? Intuitively, I'm thinking that most of those rivers are fed by many small streams, so it would be approximately equal. I'm entirely unsure of that though so treat it as having huge error bars.

Comment · 4 years ago
Wait... so the US army did poorly against guerilla combatants half way across the world, and therefore another country that lost in Afghanastan and a country that hasn't successfully invaded anyone that doesn't border them are a good match?
Comment · 4 years ago
> Yes, I mostly see people saying that laws don't matter because billionaires are beyond law at this point.

Huh. Weird. Well, I don't see it brought up on HN all that often (once a month tops?), so we must hang out in different circles outside of here.

Anyways, you have a good one.

Comment · 4 years ago
Comment · 4 years ago
Wait, is that what you always see as the argument against it?

Whenever I've seen it brought up it's always that it would require a constitutional amendment (specifically in the US). The federal government isn't allowed to do taxes that way under the current system (Article 1 Clause 2 Section 3).

Hell, the feds weren't even allowed to do a straight income tax until the 16th amendment.

Comment · 4 years ago
> It completely failed and SUV consumption skyrocketed and people stopped buying minivans and station wagons.

The government put fuel efficiency regulations on sedans in the 1970s. This effectively killed station wagons. The rules around light trucks were different though, and that's why the minivan was created.

The SUV is an outgrowth of the same thing.

Comment · 4 years ago
> When people air opinions they're unwilling to change

That's the thing, there are a lot more positions these days that people seem to be unwilling to change.

Comment · 4 years ago
If that were the case, you'd expect to see forking of 3rd party libraries rather than writing of new ones.
Comment · 4 years ago
That may very well be. What's the windows support like/does it come with windows pre-installed?

I may personally hate windows with a passion, but if we're talking about the layman's definition of "PC", I think that's still a hard requirement. Especially this side of the "I'm a mac/I'm a PC" commercials.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton