skysight-inc/HackerNews huggingface dataset:
That was famous Keynes prediction [1][2] that due to increased productivity people will work 15 hours weeks.

Consumer capitalism however not only created productivity gains and satisfied all demands (for which should be rightly praised) but also created new demands (like better healthcare, education, technology items, vanity items etc.).

It is however characteristic of money economy (urban economy) that there is nothing limiting human need to accumulate capital and consume.

In subsistence economy (non-monetary) whenever there is a surplus people rather stop working then trying to accumulate more and they tend to focus on accumulating social capital.

[1] https://www.theatlantic.com/business/archive/2016/01/inequal...

[2] https://www.theguardian.com/business/2008/sep/01/economics
Don't be so narrow-minded.

Buzzwords and cryptocurrencies speculations aside, Red is really worth checking, at least if you're a language enthusiast and is interested in Forth and Lisp family.

And here blockchain is nothing more than an innovative (yet rather controversial, I agree, since I'm skeptical too) model to sustain programming language community and gain a solid ground for core developing team.
Many people now are spending almost 50% of their pre-tax income on housing, and most of that is the price of land and goes to landlords.

1) That's really not a countrywide thing

2) It's not specifically the landlords, it's whoever was already there. A landlord who bought in just recently is not rolling in dough. The people who capture the gains are the people who got in fifty years ago and sold & moved, or the landlords who got in fifty years ago and are still renting the property.

3) But, yes, from the worker's perspective his salary increases will tend to go towards housing/land. This is a natural state in a competitive housing market. He must compete in the market for the space to live so that he can live near his job. The power of the market will continually optimize for those who make the most money (i.e. hypothetically produce the most economic value) to live in the most desirable housing (e.g. the closest to work)
Many digital library services are paid based on usage, so increased borrowing may actually increase library costs in turn.

Not saying people shouldn’t use services — just saying it’s not a sunk cost like it might seem.
I suspect if you think that U.S. is too bureaucratic or unfair, you have never been to other countries, really. There is only a handful of countries that can be said to do better in one of those respects.

It seems to me that you claim that there is a trade-off between bureaucracy and corruption. I disagree, to me it seems (although I cannot readily prove it) that these are more often correlated than not.
I like Red, and I have been following it. I dabbled with Rebol back in my Amiga days, but not much. Red is a nice batteries-included, small, Lispy-forth language in my perception.

I am sticking with my Lisps (SBCL, Racket, Emacs Lisp, Shen, and Wasp Lisp) for now, and my beloved J [2], but I love the size of the whole Red/Red System environment. I think it is going to take off.

I know Naned, the man behind Red, was CEO of Fullstack Technologies, and it was based in Beijing after an initial $500k VC funding round from Chinese VCs [1].

Curiously, I predict a bunch of conspiracy theory people to relate Red = Communism, Blockchain/ICO/Coins = Socialized currency, and a decentralized internet running DAPPs to dilute the USA's currernt juice in the internet all with a connection back to China, but I am ecstatic about a distributed internet that cannot be censored like it is in China, or in less obvious ways in the US. I missed the Bitcoin buy-in when it was selling at $200-something, but I always knew in my readings that the blockchain is its secret sauce. Aside from the energy expenditure, I like the concept. How can it, or can it become energy efficient, but still stay difficult to mine to work out both ways? Seems like it will not be possible. You cannot make it easy for everyone, and hard enough to have value...

[1] http://www.red-lang.org/2015/01/dream-big-work-hard-and-make-it-happen.html

[2] jsoftware.com
in a nutshell this the counterargument to functional purity: side effects can be done correctly/safely when you have/build the right tools. i'm inclined to agree with it.
If your "search is over", you're doing it wrong. Something sucks about everything you are using, no matter what it is. There is a better thing, even if you must make it.
It's not visibility, it's how much you spend/use. I'll bet there are large companies out there you've never heard of that get just as much of a discount from Amazon as Netflix does.
Him or Bezos. Looks more like Bezos currently.
Someone once told me that the way they can always tell if someone is an American traveling abroad in their country is that they always have this stupid shit eating grin on their face and most everyone else keeps a neutral expression.

If you are out of your cultural element, you can cross the line into apparent insincerity with surprising ease. Always know thyself.
I'll pile on here with another counter data point to say that having written Ruby (both Rails and otherwise) for 7 years, and having read POODR, I do not understand where you're getting this dogma idea from. I have yet to experience a single instance of "It's POODR's way or the highway."
s/Naned/Nenad

I recently got interested in J too by the way, how do you use this language and Lisps in your work?
Ahh OK! nlay is not an essential part of nnn anymore. It's only invoked if you use the locker or invoke desktop search utility. We retained those two to keep the utilities customizable. Are you using any of these two?

Also, `nlay` is editable and you can customize it anytime.
Is alternate truth ternary?
On your own ship, and depending on jurisdiction (based on flag flown and the UNCLOS) [1]. Nobody allows running out to find a ship doing things one doesn’t like and then ramming or blocking its path.

In any case, what law are the Japanese vessels breaking? They amended their quotas to comply with the ICJ ruling [2].

Ramming things makes for good TV. It is emotionally satisfying. Practically, however, it is ineffective or even detrimental towards the goal of saving whales. (It is very effective at maintaining certain peoples’ livelihoods and drumming up nationalistic support for whaling in Japan.)

[1] https://en.m.wikipedia.org/wiki/Admiralty_law

[2] the article
The item in the list supplied for index starting at 1 shouldn't be there.

There are valid reasons for using 1 instead of 0 for the first element. It all hinges on whether the address is being considered or the first element is being considered.

One could consider languages that use 0 as the alternative referencing for the end of some value that can be indexed and -1 as the last item of that value.
The premise of the article that the more objects that mutate state locally are used the more complex and more difficult it is to reason about the system becomes is not true. The core principle of data encapsulation in OOP ensures your system will be manageable as it grows. This principle breaks down the complexity into manageable units of self managed simpler pieces of subprograms that are more easily to reason about. And as history has shown this approach did provide capability to programmers to build more complex and manageable systems.
> Back in Britain, German battleships shelled the coastal towns of Whitby, Hartlepool and Scarborough, killing 122 and injuring 450 civilian men, women and children.

My grandparents had a piece of one of the shell mounted on the wall in the dining room, and it’s now in mine. Someone made a small hexagonal wooden plaque and mounted a bit of shrapnel in the middle of it.

https://en.m.wikipedia.org/wiki/Raid_on_Scarborough,_Hartlep...
AFAIK from some conversations I had at a conference last year with a few Netflix engineers who work on this system, it's sort of realtime. Recommendations are build up using Apache Flink, which provides stateful stream compute.

So your click turns into an event on a Kafka topic which is eventually consumed by Flink, joined with whatever other data sources they need and then written out to a store somewhere. IIRC the various machine learning models exist inside their Flink architecture.

https://ci.apache.org/projects/flink/flink-docs-release-1.4/...
Fields in package.json explained, including unofficial
Yeah at a previous job we had a six person team regularly doing almost hour long stand-ups (daily). First time I was thankful for job mobility in silicon valley.
Web Extension equivalents to legacy Firefox add-ons
They have the best bitscuits
Maybe I'm strange, but I've always regarded browser or email add-ons/extensions as likely to have the same level of system access as the program they're running in. You're running a program in a scriptable environment, it's no different than complaining that shell scripts can do terrible things to your system.

I applaud them for finding the actual bugs though, and hopefully those will be addressed promptly.

That said, what decent mail clients still exist? It seems like it's all webmail, phones, Outlook, or Thunderbird (which has had its own spate of "does it have a future").
Free Money

Nothing is free, and if you feel like it might be, you’re about to screw someone, or be screwed yourself.
May I suggest that it may be the Hobbsian Trap?

The more resources we have - especially necessities such as food and water - the more children can be born. And eventually the population is large enough that the amount per person goes back to what it was before.

That doesn't necessarily mean everyone has to work. But in the current economy, where you have to work to afford the rent, many people work long hours.

However, once you factor in the growing unemployment, you can see that, in fact, there is less work to go around. But people still need to pay the rent, eat and drink water!
That's not entirely true. Cameras are starting to introduce video signing. At least there's a chance to prove the source was filmed with camera X, if its public key is known. It would be cool if camera manufacturers had a public API for that too.

Example:

http://www.urbanalarm.com/knowledge-base/2016/digital-chain-...
Definitely. I love talking to people about their work, whatever it is.

It's an easy way to get someone to open up to you and you're bound to learn a few things if you're willing to display your lack of knowledge in their domain.

If you approach the conversation with candor, it rarely seems trite
Is there a limit to the power of Maps when’s it’s not the default on most high end phones?
I've really wanted to find a good use for MRuby (probably to noodle around with game development, as an embedded language) but figuring out where to start is really hard. Any tips?
Not really:

> We are at the design stage, the first alpha (prototype) is planned for end of Q1 2018.
> Netflix is strong on eventual consistency, and making services as small as possible. Having tried to build something in that image, holy shit the issue of distributed transactions becomes a nightmare.

Distributed transactions are a sure sign that your service boundaries have been incorrectly drawn.
I don’t think you know how HN works. If the word “blockchain” doesn’t make you irrationally angry, this isn’t the forum for you.
A SQL Injection Vulnerability Enables One to Tamper F5 BIG-IP Firewall Rules
> What is the incentive for a potential backer to buy this token?

I would imagine to support the developers.

They also claim it might be used as gas on the blockchain in the future so if you want to run a dapp you will need it.
I guess so. What is the connection with this story in which no pilot made any visual contact with anything?
Many seem to claim that using these methods are manipulative. One could also argue that knowing these methods put those that lack inherited social skills, or find it scary to interact with others, on equal footing with those that use these techniques naturally. Look to someone you think is killing it in all social circumstances without effort. These people will smile (with both the eyes and mouth), show interest in others and mirror the physical behavior of their talking partner. Most of these people aren't trying to manipulate. It comes naturally. You could improve yourself to just become a natural by realizing these signs.
> or nothing if you're salaried

It doesn't work that way. Many people in the US believe so, though, making companies get away with paying too little.
Would you mind clarifying what you mean by 'smoothness'?
I'm not sure you're comparing apples-to-apples here. My grandfather drove trucks for the city, and my grandmother worked part-time in a factory. They didn't reach high-school. They had 3 kids, always owned their own homes, in a major metro, owned two cars, and always had "modern" appliances and electronics for their time. They felt little or no economic insecurity, and never expressed that they felt they were lacking anything. They retired very comfortably, without any special planning. Which socio-economic class of today would you compare them to?
War. What is it good for?
The sociologist Stanislav Andreski wrote much about societies that have traditionally been tribal in nature and that now are nominally democratic. The thing is, once sometime from your tribe gets into power, he is expected to help your tribe members to the exclusion of everyone else. Money, jobs, loans, paperwork, general preferment.

Is this corruption, or is it just a different way of structuring society?
Agreed. If avoidable, never point fingers.

But if shit really hits the fan, at some point management will be asking "Who was supposed to do this?" And between that and the finger possibily being pointed at you... soft skills in handling politically tense situations well are useful.
I'd like to say that Huawei also is supported outside of the country, to the point that you can easily by a Matebook X on Amazon. There was a discussion about how installing OpenBSD on it[0].

[0]: https://news.ycombinator.com/item?id=14782435
I met RMS once. He spoke at my college's CS department and then gave a campus-wide talk.

At the CS reception he told a retired professor to switch banks and just not tell his wife because the bank didn't support a FOSS browser—while eating the dandruff in his hair.

Later, at the wider talk, he called our IT department fascists for requiring authentication to join the Wifi network, then put a halo on his head, proclaimed himself the Jesus Christ of software and tried to auction off a stuffed gnu to a dead silent crowd.

Good times.
I’m not sure if I follow what you’re saying.

My point was that regulation doesn’t necessarily decrease pesticide use or make it safer, unless they’re actually testing for residues for all of those at zero. The situation with conventional commercial agriculture – pesticides that cause clear harm to children being permitted, or phased out over years when they are discontinued – is the reason I think that. As much as i hate to say it, organic isn’t necessarily safer, either. The pesticide implicated in a cannabis hyperemesis, neem and derivatives, is organic.
Things have been changing, people thought that the DOM stuff would need the GC stuff, but the new "host bindings" proposal my sibling linked to would give DOM stuff without the GC stuff.

Everyone I talk to suggests that it will be sometime next year.
It's not though. This announcement shows the direction that those in charge of Red plan to take it.

If you think that's a stupid direction, then that should influence your decision to invest any time in learning or building upon that language.
A Game of [Crypto]Coins
Replacing low density with high density shouldn't have to touch outdoor/public spaces [...] Perfectly possible to keep (or even expand) recreation spaces if we allow more density.

Right, I'm pretty sure I specifically acknowledged this in my previous comment.

why some feel because they have it already that they should be able to exclude others from having it in the future

If some hypothetical resource has a determinate carrying capacity and any greater usage degrades the resource for everyone, it's not unreasonable to exclude people. See the fixed number of backcountry permits Yosemite issues. Some things simply cannot be had by everyone. Given this, how do you decide who gets, and who does not get?

We really only have three systems that I know of- 1) lottery, ala Yosemite permits 2) free market, ala Bay Area low density housing, also ski condos 3) precedent/i-was-there-first, ala people who already own a house there get to stay there as it becomes desirable, also prescriptive easements of public trails on private land
I think his point that you don't actually get fairness in practice answers to your point about the trade-off between efficiency and corruption.

I think the point was that adding rules and diffusing responsibility appear to be a way to reduce corruption and making things fair for everyone, but that in practice that relationship may not be so simple.
> After four tries to get name brand and working batteries for my car remote on Amazon...

Is there something wrong with the AmazonBasics brand? I’ve never had problems with them.
It looks like the Ruby-specific elements here are (1) the 'retry' statement, and (2) the ability to yield a block twice (Python's equivalent `with` syntax explicitly prohibits re-yielding a block).

(1) might just be a matter of taste -- that 'retry', to me, makes me now have to step back and think "oh, I'm retrying something now? what exactly is being retried here?" Having it all wrapped up in a 'while' loop makes the intent explicit right from the get-go.

(2) I agree is nice. It would be great if you could do this:

with backoff():
connect_to_a_thing()

but you're not allowed to 'yield' twice inside a context manager. However you can get damn close (and fully composable) by wrapping the connection logic and the retry logic in functions:

def connect_to_a_thing(url, access_token):
...

def backoff(connector, wait=5, exponent=1.5, *args, **kwargs):
success = False
while not success:
try:
connector(*args, **kwargs)
except BackoffError:
sleep(wait)
wait = wait ** exponent
else:
success = True

backoff(connect_to_a_thing, url, access_token)

Or you could be even more explicit with recursion:

def backoff(connector, wait=5, exponent=1.5, *args, **kwargs):
try:
connector(*args, **kwargs)
except BackoffError:
sleep(wait)
backoff(connector, wait ** exponent, exponent, *args, **kwargs)

As for your point about loop indices, Python generally has wonderful support for not worrying about loop indices and counters. I'm also not sure how that applies in this case; you still need to increment the value of 'wait'. Then again...

def exponentiate_forever(value, exponent):
while True:
yield value
value = value ** exponent

def backoff(connector, wait=5, exponent=1.5, *args, **kwargs):
for wait in exponentiate_forever(wait, exponent):
try:
connector(*args, **kwargs)
except BackoffError:
sleep(wait)
else:
break

But please don't do that.
Same here. I’ve used C for ages and now I’ve been doing a lot of Swift, where if statements only operate on Bool values. I find it much better to be explicit about any condition that isn’t literally true or false. The common style of accepting all types and defining a set of “falsey” values just encourages pointless shortcuts.
The site responsiveness is questionable. Maybe invest some time in making in nicer looking and more responsive?
https://prelectur.stanford.edu/lecturers/hofstadter/analogy....
You are right on point. There is actually a small section in documentation about this, but I wasn’t sure if anyone would be interested and didn’t put in much effort. Now I know there is! [edit: docs updated]

Anaconda was my tool of choice for a long time, but eventually I decided it was not good enough (for what I need; it is wonderful in many other ways). The tipping point is that Anaconda manages Python versions similar to virtualenvs, by manipulating PATH and other environment variables, which is the wrong way to do it, [1] and doesn’t work in Powershell (being so shell-dependent) without some tweaking. [2]

There are also no simple way to launch Python for a given version. I don’ think there is a way to run a particular version of Python in Anaconda with just one command (except typing the absolute path to python.exe, of course). You always need to activate the environment (and remember to deactivate afterwards).

My current position also requires me to answer questions from many not-so-experienced Python developers. For whatever reason most of them have a hard time wrapping their heads around the activation-deactivation thing. Pipenv saved them from managing virtualenvs, but Anaconda’s environment is equally problematic. But this is just my personal experience and might not be universal.

I still like Anaconda a lot, but its Python version management tooling is simply not good enough. They seem to conform to PEP 397 [3] and can be discovered through the registry as well, so I do plan to look into whether it is possible to support installing/managing Anaconda distributions with SNAFU, so I (and other users) can get the best parts of both.

[1]: https://gist.github.com/datagrok/2199506

[2]: https://github.com/conda/conda/issues/626

[3]: https://www.python.org/dev/peps/pep-0397/
Is there a good reason, other than expectations brought from other langs, why 0 should be falsey?

Zero is an absence, and it has a good analogy in the real world: If you have 0 apples, you do not have any apples.
Can you clarify how you see that direction?
I’m with you about blockchain announcements, but this looks like it’s actually appropriate.

From the linked page: “Such dialect will compile to the Ethereum VM (EVM) bytecode directly as first target, and more backends will be added later to support other chains, like NEO. ”

That seems significant to me.
Summer reissue: The new work order – The Spinoff
Just use an VPN if you want to participate
Maybe it's a Commonwealth thing? :)
No, Pythagoras started from something that definitely exists: the hypotenuse of a triangle with two sides of length 1. He wanted to find out its length and to his great dismay he discovered that there is no rational number to express its length.
I just bet myself 5:95 odds (lose means donate directly to the org - they just missed out on 12.5k) that there would be only rent-seeking or “voting” in the “token use cases”. These guys don’t know what they don’t know.

Also, HA HA HA. I used to feel bad for the victims but now I think they deserve it.
I'm not trying to say it's black and white; enthusiasts certainly care about the design of a computer and stats for cars. however, I do feel that car enthusiasts have different priorities than computer geeks.

I personally am way more interested in computers than cars, but I do feel that cars are more "emotional" possessions than computers. some laptops are ugly and made out of plastic, while others can be quite attractive, but my selection strategy is always to filter out the downright ugly machines and then compare the others component by component. my process for cars is pretty much the reverse; I want one that exceeds some bar for performance and then I will pick the one that feels best to drive around.

my car is far from the fastest in its category or price segment, but imo it is definitely the most pleasant to drive. my desktop is a bunch of high end parts inside an ugly leet gamer case that I bought ten years ago.
> Mutex is rewritten to be smaller and faster. [Feature #13517]

This is something I find to be using quite a lot, great to see this.
While rspec is indeed nice, I don't get why most projects don't use minitest more. Minitest ships with the Ruby standard library and I much prefer the assert syntax over the rspec DSL.

Rails also uses minitest with fixtures by default, I migrated to it recently and I really like the simplicity.
You'll get a public defender.
Clickbait title, but apparently has some interesting material.

The best things, however, remain the letters and memories of soldiers.
I wish the writer would have used a spell checker.