skysight-inc/HackerNews huggingface dataset:
Schemes to bring water from the Columbia river are floated periodically but it would require political will across California, Oregon and Washington state, as well as approval from Canada, since Canada shares the river waters by treaty with the US. It takes too many stars to line up just right for it to be politically feasible, even though as an infrastructure project it could work.

https://en.wikipedia.org/wiki/Columbia_River_Treaty
The point being made here is not that feeding people and keeping food prices low isn't important. The point being made here is that California agriculture isn't required to feed people or keep food prices low.
Self checkout only replaces a small percentage of the total work done by a grocery store worker. It has likely led to a small drop in employment, but nothing like when self driving technology fully rolls out. A few highly specialized replacements will have the same effect as the self checkout, but unlike the self checkout, the self driving technology can continue replacing jobs beyond this initial specialized cases.
OK, I'm going to say this - I don't mean to be harsh, but I feel its important the message is clear: You absolutely should not be having these people conduct first contact with developers. They are not trained for it, won't enjoy doing it and are likely to be very bad at it.

Hiring is hard. Its one of the hardest problems confronting any business, especially those that are dependent on technical talent. For a hard, business critical problems like this, you need your best, most qualified staff to handle it - not your cheapest or most inexperienced.

Little mistakes - mistaking Java for JavaScript - maybe understandable on planet earth, but on planet tech - where the community can be less forgiving than it imagines - is as bad a mistake as you can make. You're basically signalling - I don't know about you and I don't care about you. You will not hire quality people with this messaging and this recruitment experience.

The bottom line is, your founding team needs to take the lead. Like it or not, these are the people that in-demand developers are most likely to respond to. After all, developers themselves and are also unlikely to make the kind of mistakes that might ruin your employer brand, a critical asset for an early stage startup looking to hire. Furthermore, they are developers who have gone next level and become founders ready to hire developers - that's pretty much real world karma in World of Startup. They are your best, and likely, your only chance to hire the people you need. They have to grasp this, otherwise it won't matter what techniques or concepts you discover or deploy.
I know I'm getting downvoted here, but I don't think I'm being unfair, @Panoramix. Yes, I'm also aware of his statements with regards to science trumping religion. That's a much better position than other religious leaders. Kudos.

But in the meantime, he thinks I should believe stuff unsupported by evidence. Going back to the Pope. If he had made a similar statement as the Dali Lama, that would be a huge step forward, but it doesn't mean I'm going to spend a long time contemplating the "mystery" of the Trinity, even if science can't definitively debunk God. See what I mean?

I'll ask it again, again earnestly. Why should I care about the beliefs of the spiritual leader of a religion I don't subscribe to? Again, I'm not trying to be difficult. I really want to know. I have not read the Dali Lama's writings. What is so good about them? Right now I think of the Dali Lama as someone famous for being "wise" in a generic sense. He loves talking about compassion. That's great. But that doesn't answer my questions. I am curious for the answers and certainly can be swayed to believe he might have great insights I should pay attention to, but as I said, I haven't read him, and haven't encountered anything in popular culture to make me think that's the case. Present some reasons, please.
If you put GPL code into your code, your code becomes GPL regardless of whether you modify the original GPL code.
A JITter would be able to do that. And the JVM can (and will) do the equivalent for Java code.

Remember: there is nothing that specifies that C / C++ needs to be compiled.

Also: you could have said the same twenty years ago about many of the optimizations that currently compilers do.
> Without your farmers you starve

From what I understand most of California's agricultural throughput goes to exports. Japan may have their rice farmers, however in terms of area the US is 24 times bigger than Japan, with only 2.5 times the population.
So that's comparing apples and oranges.

On the other hand, food you can import so your assertion is wrong. However if water goes out, then you will either move or die of thirst ;-)
Didn't realise the Dalai Lama was a controversial figure just judging from some of the early comments here he is. Why? Is this a silly 'religion/mysticism vs. science' thing or is there more to it?
If you cannot make a farm water efficient, then perhaps the answer is don't farm there.

There are other places in the world to farm that are not currently suffering droughts.
Unfortunately this does nothing to address groundwater depletion; it's just about how much water people are allowed to draw from rivers. With groundwater we have a dollar auction / arms race where the people with the deepest wells get the water, which is a terrible way to allocate water. If you want the system of private wells that sustain rural communities to keep functioning you have to restrict wells.
http://www.seattletimes.com/seattle-news/environment/inslee-...

"A widespread lack of snowfall this season has left Washington state in a deepening drought, and the prospects are grim: threats to crops and fish and increasing worries about wildfires."
> The Japanese expend enormous resources on keeping their rice farmers viable in the face of cheaper alternatives, but, in some ways they have a point. Without your farmers you starve.

Not quite. Without farmers you starve. Japan doesn't need the rice farmers to be theirs.
> usable water which is mainly used for exported profits and not sustaining local industries.

When you say "exported" and "local" are you referring to California, or the United States?

States need to be responsible for different resources, but as a whole, the United States must be self sufficient. No reasonable geopolitical strategy would require importing vital resources like food and wter.
Yes, a fridge tweeting that it is out of milk then promptly being owned by a hacker because the manufacturer makes appliances not software.
Of course, we can't implement the obvious and economically rational solution: let the water market operate freely, rather than having the government dictate prices, impose rationing, encourage neighbors to rat out putative "water wasters" and so on. Long live central planning!
Some 30-80% (depending on the precipitation that year) of that 80% is pumped out of aquifers beneath the Central Valley and is not really available for urban use anyways. And it's not like urban users are blameless here. I mean, have you driven around Southern California? It shouldn't be the case that LA more closely resembles Miami than Phoenix.
"Whoever knowingly and willfully" nope

"mailbags" nope

"with design to obstruct the correspondence, or to pry into the business or secrets of another, or opens, secretes, embezzles, or destroys the same" nope

"voluntarily quits or deserts" nope
> Without water, locavores will have to become televores.

Eating local has always meant moving where the conditions support the food you want to eat. The idea that you can be a "locavore" without being sensitive to shifts in water availability and other things that directly affect the viability of food production in the local area is silly.

> Calif produces food for the whole nation.

California exports food for the rest of the world, not just the nation. But it also competes with lots of other places to do so, and the opportunity cost of delivering water to farmers may far exceed the benefit from continuing to do that.

> The Japanese expend enormous resources on keeping their rice farmers viable in the face of cheaper alternatives

And, still, much of the rice eaten in Japan is grown in California.

> Without your farmers you starve.

Without sufficient farmers somewhere willing to take your money in exchange for food, you starve. There's no reason they have to be in your immediate area, though, as California's agriculture -- which is largely for export -- demonstrates.

> Yes, farmers should try to use water more efficiently and the gov should encourage that adoption via stick and carrot, but vilifying farmers is not the way to go.

This isn't about vilifying farmers (and, in fact, the presentation of this action as being about farmers is inaccurate -- its about senior water rights holders, some of which are farmers, some of which are not.)
I've been struggling to set up it correctly on my debian machine. Are there debian packages or some concise tutorial? I've found some thing on the web, but certain things does not much mine and I'm lost...
This is interesting.. I was reading this cool thread a couple of days ago (some really useful stuff):

https://news.ycombinator.com/item?id=5965081

and stumbled across your comment. I thought it was neat (I'm using -not- TransOver for the moment).

Here's what I can think of, off the top of my head, but first some background:

I'm acquiring Spanish right now and simultaneously scratching the surface of German, Russian, Hebrew, and Persian. They have a lower priority, but I'm making progress.

As you may have noticed, English is not my first language. I learned it out of necessity (resources I needed were in English).

I read a lot, and in the beginning, my head hurt as I read stuff written in English. I had MediaDico on my computer to translate from English to French.

I struggled with idioms (I needed to read several examples of an idiom to get the gist of it)... But I can pin-point the exact moment where my learning was about to soar: I was in the living room and I decided that my computer experience had to shift to English. This means that even when I was to search for stuff, I'd do it in English. My brain bled. Something trivial to search for in a language I knew, something I already had the keywords ready, not in my mind but in my fingertips, to search Google for, would take me way longer to think about, formulate, and come up with keywords for, in English.

What would be cool is this:

- A user doesn't have to click on on a word to translate it. The extension makes a sort of histogram of the most used words or expressions (a frequency list of the page), and automatically translates them. Since they're the most used words or expressions on the page, the person will be exposed to them often: "accidentally on purpose" rote repetition. This will be useful for the next step:

- The extension _remembers_ (keeps a list of) which words (should) already have been learned by the user (which words he has been exposed to the most), and in subsequent pages will display them in the target language without the user doing anything. They will no longer be displayed in the user's language.

- The first message it displayed was that I had to drag some link, etc.. Why is that?

- I had a message saying "This is a very large page". Maybe the extension can translate stuff the user is most likely to see first, and as the user browses, it does stuff.. Think Python generators.

All my best !
Poetry is hugely successful in the modern world, it just happens to be set to music most of the time.
Scared Coder – learning to code as an adult
Because water doesn't cost $3 a gallon.
I'm intrigued by the "atomic upgrades and rollbacks" claim. Let's say that deploying a package requires placing two files somewhere, e.g. vmlinuz and initrd. How can this be done atomically?
10 Habits of Millionaires That Will Make You Successful
Yeah, I've been running NixOS on production servers for about a year. I'm at a small startup, so it's not huge scale (yet!) but it works great.
Oculus App Store
For a second I thought someone had submitted this article with their phone and by mistake left one of those "sent from my <Samsung?>" in as a trailing message.
This is going to disrupt trucking companies just like automobiles disrupted horse-drawn carriages.
FYI, I discovered this a week or two ago and when I tried to pay using PayPal something timed out and I was unable to complete the transaction. I tried several times, and I don't think it was a PayPal issue. Eventually I just gave up.

Love the site, though.
While this is true for the big picture, it's still fucked up that the status quo is for most everyone to have a well-watered lawn. And the response of "cities" like Los Angeles is to subsidize people's servants completely redoing their yards!

Implementing water restrictions is incredibly easy - you declare "no outdoor water usage except on these two days of the week after 5pm" and issue fines to people who don't comply. But it is incompatible with Californian entitlement, because gasp the grass might get a little brown.
Yes, memset_s().
Which makes me think there should be a free_s().
First, it's really not the case that only Ubuntu and OpenSUSE work on the desktop. You may have run into issues which YOU were unable to solve, but those issues may also have been specific to your laptop hardware configuration. It is well known that certain laptops tend to work better with Linux than others, in fact Im running Fedora on a Lenovo right now and it works great. So, is the desktop really irrelevant? Depends, different distros have different priorities. To date, Linux on the desktop has not shown mainstream appeal, but it does seem to gain more and more users every year. If you really insist on being obtuse regarding the reasons for poor Linux desktop support, the primary answer is that Linux has a long history of being a very good server OS. Security, stability, speed, price and customization are all reasons that is true. There is limited time in the day, and so one thing must be prioritized over another. Most linux distros choose to prioritize server development over the desktop experience, because that is where their primary user base is. Other teams made different choices. Why, at the start of this year, I tried to install various Windows versions on my rack server using a USB drive. Only Windows Server 2012 worked. Why is this? Is the server really that irrelevant to Microsoft? This is not a bug report though, I'm just wondering what the institutional reasons are.
What is a problem is selling taxpayer subsidized water to large corporate farmers in the middle of desert so that they can raise surplus crops while in the middle of the drought.

Agriculture is fine. Subsidizing corporate behemoths in the Central Valley while wrecking our environment is not.
The problem is religion is a constantly moving target for falsifiability. Religion constantly transforms itself to fit the world as science describes it.

Heck, the earth use to be the center of the universe according to religion.

Personally religion is a non-scientific thing that really has no place in science at all. As a result, it's really not relevant on hacker news either , IMO.
The package manager could just flock() a specific file before making any changes.
When the Indian government implemented the strategy you suggest, it consigned the country to years of economic backwardness. "Self-sufficiency" is the road to poverty.
Thank you. Somebody willing to work at answering the question. Those are some possible reasons. Not good enough for me in this case, but definitely worth pointing out.

I've seen him in person too. Yes, charismatic. I don't think it is my burden to say that you shouldn't, because it is fine with me that you do care. Obviously lots of people care about him. The whole point of my questioning is to get at, "why?" I don't know and so I ask the question. Really, no other motive. He seems to transcend and earn respect from people outside of his religion in a way that other spiritual leaders do not. I want to understand that.
Disrupt
These are luxuries we can go without in a drought.
The prairies of Canada are divided out like this as well, due to the Dominion Land Survey:
https://en.wikipedia.org/wiki/Dominion_Land_Survey

And for an arbitrary Google Earth location in Saskatchewan:
https://goo.gl/maps/ZsTQj
Seattle isn't actually that rainy, it's just a constant drizzle, actually. Water restrictions about on the summer also.

If you want to see how it is done, China recently built a north south water diversion canal. Though it hasn't paid off yet.
Yes - otherwise, they would have to pay interest on the loan while refinancing to a lower rate (they'd lose money).
Would there be a way to do this automatically? Like a "sneaky pre-compiler"?
People usually bring up the GDP stuff not to criticize the fact that the US has managed to develop an national economy where most other sectors dwarf agriculture, but to pair two points:

1) California could afford to lose its agriculture sector

2) since water is increasingly scarce here, maybe the agriculture would be better done somewhere else too

There's probably some counterarguments (even a 1% GDP contraction is going to hurt a bit and have some second-order effects, maybe trucking in food has its own problems, inertia in things like almond crops, I don't know), but we can probably stop short of accusing the people who bring it up of being critics of industrialization. :)
On the question of when to recognise revenue, I'd hope that serious investors know the difference between accrual and cash accounting.

In particular, that bookings come before sales come before cash, and that the three are reported independently.
Why make it relative to the crop ? If California is no longer the best place to grow particular things then grow them elsewhere.
Which is cut against by the affect that cutting urban water usage just doesn't matter.

You could cut it to zero. We would run out of water in the same amount of time.
By all means, I'd love to see some real figures.

While people can be in general better off, I still think the situation is unfair and it's reasonable to oppose the treaty just on the question of fairness, but that's a much more complicated conversation.
> States need to be responsible for different resources, but as a whole, the United States must be self sufficient.

"Must be"? No. Perhaps it would be nice, but even that is questionable.

> No reasonable geopolitical strategy would require importing vital resources like food and wter.

"Only a Sith deals in absolutes." More to the point, a reasonable geopolitical strategy would do so if self-sufficiency was either unattainable, or merely had an opportunity costs that exceeded the strategic value. Anyhow, the US is a massive net food exporter; and if California cuts backs due to drought, that will make production elsewhere in the world -- including elsewhere in the US -- that would otherwise be economically marginal more viable. Even if self-sufficiency in food was essential, these cutbacks wouldn't threaten it.

Anyway, these cutbacks are because there literally isn't water in the systems in which they hold rights to deliver to senior rights holders, not because farmers (which don't account for all the affected senior rights holders) are being politically targeted. Even if food self-sufficiency was a geopolitical strategic necessity, and even if curtailment would impact it, you can't deliver water that doesn't exist.
Hi Joe,

I think you may be misreading that clause. What they are saying is that if the works are registered, you may be able to sue for statutory damages in addition or instead of compensatory damages. This does not mean if the works are not registered, you cannot pursue legal claims, merely that you're limited to compensatory damages. Likewise, they are not saying you cannot prove that you own the copyright unless they are registered, merely that copyright registration effectively shifts the burden of proof.

https://en.wikipedia.org/wiki/Damages#Compensatory_or_expect...

https://en.wikipedia.org/wiki/Statutory_damages_for_copyrigh...
Thunderbird 38 Released
The 6502's instruction set is pretty regular, with most instructions of the form aaabbbcc. For instance, if cc==01, aaa specifies the arithmetic operation and bbb specifies the addressing mode. Likewise with cc==01, aaa specifies the operation and bbb the address mode. See http://www.llx.com/~nparker/a2/opcodes.html

The regularity of the 6502's instruction set is a partially a consequence of using a PLA for instruction decoding. If you can decode a bunch of instructions with a simple bit pattern, it saves space.
You misunderstood me. I updated with an edit to clarify in the original post.

GDP is mentioned to show that increased cost of production for agriculture will not have a catastrophic effect on our economy....if you ask most Californians (or others), they often think agriculture is a huge proportion of our economy and requiring water efficiency would have a huge negative impact on our bottom line. Lost jobs, revenue, etc.
Visalia is the county seat of Tulare county. I cannot find any articles mentioning that people in Visalia get nothing when they turn on their faucets. Can you link me to a source?
Notice how other people in this thread can level criticisms at both the topic of discussion and towards one another while flying their own handle?

Notice how you cannot do this?
That's interesting. If I never fixed anything, how often would I need to reinstall? I'm currently considering turning off updates on Ubuntu and just reinstalling every time there's a new release. I'll probably switch to Windows, though, as I don't expect to code much on my home computers now that I'm no longer a student. Coding on windows is hell and the DE sucks, but windows is stable and has a lots of software available.
I _think_ it shouldn't be too much code.
For my rails project, I wrote a simple shell script[1] to get all unused css classes and remove it my hand in final step, to make sure i will not remove css classes that actually used (e.g pre-define and use in future, overriding of third party css class)

The script basically does:

1. Use REGEX match all css classes, `cat` into one place

2. Read the class line by line and search in html,js files to see if this css is used (even support #addClass from js)

2.1 it also supports several class adding styles e.g. class="abc", class: "abc", :class=> 'abc' or even "xxx" class in this: class="abc xxx ijk"

2.2 People even do this in js: $modal.append($('<div class="modal-close-icon"></div>')); and the REGEX can also detect this lol.

[1] https://gist.github.com/50kudos/3028fac585eda85aea9a

You can adapt my REGEX, and custom your directory where those css files are in.

Simply copy the code and save into your filename.sh, and can run safely because my script don't write any file of your project.
Not at all. It's a marginal value question. When water is plentiful, people will find lots of uses for it beyond drinking it. For example, you can cook pasta with water - at the end of the cooking you just throw the water away. Water has been so inexpensive it makes sense to pour it right on to the ground to make plants grow.

Now, water is getting a little harder to come by. It still makes sense to cook pasta with it, because very little is used. But perhaps it's not so useful to pour it on the ground for every type of plant. Perhaps there are certain strains or varieties that aren't quite so water intensive. I know this is true for tomatoes.

So essentially you give up on the very water intensive kinds of plants, let the competition grow those where there is more water.

That's a simplification, some things, like orchards take years and years to become productive. In those cases, perhaps it makes sense to pipe in water, desalinate ocean water, or whatever. Competition isn't going to pick up the slack, because it takes years and years to get productive.

Food needs to be inexpensive, and readily available, subsidies absolutely make sense to make food inexpensive. But perhaps we don't need to subsidize quite as much of that 20% beyond the food we need.