skysight-inc/HackerNews huggingface dataset:
I don't have a strong position one way or the other, but it seems to me that the Spanish government completely botched their response to the referendum by trying to get by with a raw power play which basically guaranteed that the referendum would pass (which by no means was guaranteed had the referendum but allowed to proceed without interference), leaving Spain with no choice but to use force. Now Catalonia has called their bluff.

Spain is going to be left with the choice between letting Catalonia go or attempting to use force to keep them in the state. I don't think Spain is prepared to fight a civil war over this, personally, nor should it. Let them go, keep them in the EU, keep the borders open.

With the EU there, it seems like breakups like this don't need to go any worse than splitting up North and South Carolina, for example.
On a hobby project recently I've only written backend integration tests. I found these to be extremely useful though since they touch directly or indirectly to all the critical parts of the software, so if something's broken it will eventually be caught there. Also since it's relatively high level there's also rarely a need to change them whenever I change something to the backend. All in all it's definitely a time saver, both in terms of catching bugs and maintaining the tests.

I think there's still a value in detailed unit tests but mostly for library code, when you want to test each function properly with various inputs.
Higgs boson uncovered by quantum algorithm on D-Wave machine UK
There was this really great COBOL programmer back in the 1990's who was making piles of money hand over fist, but was overworked and getting really tired of working on Y2K fixes, and becoming extremely worried that civilization was going to collapse due to Y2K bugs. She never wanted to look at another line of COBOL ever again, she was so sick of it.

So she signed up with Alcor, and had herself cryonically frozen in 1999, leaving behind explicit instructions that she was to be revived after civilization had finally put itself back together again.

Finally she woke up, in a clean futuristic hospital room, surrounded by inscrutable machines that go "ping" and strangely dressed doctors with funny accents and weird hairdoos.

She was so happy to be alive that she proclaimed "Thank you so much for bringing me back to life! I am eternally grateful, and in your debt! Is there anything I can do to repay you? And by the way, what year is it?"

One of the doctors smiled at her and said, "Yes, actually. It's the year 9999, and the records indicate that you're a COBOL programmer..."
So much for "deep" & "profound".
That frontpage uses alot of words to say absolutely nothing...

Someone care to tl;dr what this is?
It's being worked on:
https://www.ctrl.blog/entry/wayland-gnome-remote-desktop
The real catch is more "In a referendum where people who wanted to vote "no" didn't show up, because they didn't want to legitimize a referendum they considered illegal".
a 4 year cliff is unacceptable.
odds are you'll leave before that, and get nothing.

Just ask for a standard agreement with a 1 year cliff plus monthly vesting after.
Catchy.
And since that one was made, there is now the RPiZeroW that has wifi and bluetooth built right in.

Surprised there is no phone kit for it already.
I’m not there, so I can’t say for sure, but those I know in Catalonia have been pretty clear that this isn’t the case.
I have read the code a bit.

So, should I consider it as a C++Lite edition? Because frankly it resembles CFront's coding style to be honest with you.
You can't lose customers you never converted in the first place.

Does React really eliminate the potential for buggy implementations? Also I'm fairly certain that UX has more to do with design than your choice of frameworks.
This is a highly emotional issue. Little of what is said regarding History or economics is remotely solid. In an age with particularly low bar for checking facts, I think this independentist movement has basically been sheppered by a few ones interested in manipulating the uninformed population.
Sorry for the harsh tone--probably an overreaction--but I think creativity is not the primary variable to optimize for in software development. I recognize that this opinion is a product of where I've gotten stuck in the software stack.

However the OP's advice was basically "don't write tests because they slow you down." They even said that 100% code coverage was "a really bad idea". The OP's attitude was flippant, dangerous, and IMO, stupid. Don't follow this advice.
I'd put the blame on the manager for not knowing better. I mean s/he is the gatekeeper for company resources.
The greater good is less population or spreading out places of work so they aren't in the same location. It is really less population though, which is probably why New Zealand voted in someone who is reducing population growth. Also, moving from a house to an apartment sure isn't just aesthetics. It is a massive drop in quality of life.
Show HN: Seven Words – An easy way to receive large files
Not true. People came to the polls wearing Spanish flags. No violence. The Catalan process has thankfully been extremely peaceful.

People did not vote in the referendum because it was not officially recognized as such. Because the Spanish government refused to agree on the terms.

The referendum was a sad exercise of democracy, in which the voice of lots of Catalans was not heard. But it was the only one that could be organized due to the ferocious opposition of the Central Government.

I would prefer the Referendum to be repeated, in better conditions and properly organized, with all parties exposing their arguments, and all citizens interested enough to vote having their voices heard.

Sadly, this might now never happen.
I've programmed in many domains. There are only three places where I don't use heavy testing:

1. Very, very graphical programming - like SVG charting with animations. If it were static generation it would be easy, but throwing time into the mix makes the tests really hard plus if things go wrong in the future people can literally see it going wrong and complain, so I don't think it is worth the trouble.

2. Data analysis meant for static reporting. You know, those 2000 line SQL queries that barf out data that you pop into excel to munge through before typing up a 20 pager for upper management.

3. Small personal tools, like a CLI script that spits out equivalent yearly interest rates or what have you.

Everything else I test. Libraries, backend web apps, machine learning shit, compiled, whatever. It is too easy for codebases to turn into a hellscape without tests. You get too afraid to change things.

Should it change the API to the codebase? I usually don't think so, but occasionally I'll, say, make something an instance variable that I'd normally keep as a locally scoped variable. So I model test what I can and I integration test the rest. I think that he's right that integration tests cover a lot of functionality and I think he's right that mocks aren't usually great, but I think he's wrong about how much testing we should be doing. Most things should be tested most of the time.

It's cheaper. Why?

Because it costs money to hire support people and it costs money to validate their tickets and it costs money to fix the bugs and the bugs are harder to fix when the data is already in the system and the data is wrong.

It's also more profitable to write more tests. Why?

Because bugs mean lost customers and even when you keep the customer the feedback that you get from them is which problems you need to fix, not which functionality could be made better.
It is a bit hard to vote when the police doesn't let you reach the places where it is taking place.
I would hope that a startup scrambling to gain users would be able to explain in a simple static html site why their service is worth bothering with.

If I'm not particularly interested, I'm not going to wait around for mountains of JS to download and execute, and the typical content-free startup landing page full of hero images, stock photos, and vague bullet points to load up.
My cat of 18 years died this summer and at first I thought the advertisers were onto it: I started getting ads everywhere about depression and counseling, but after a while I started seeing cat food/litter ads again. I wonder if they're trying to prompt me to get a new cat though...
I do not watch any cable news, so I can't comment on the quality of Rachel Maddow's coverage.

I used the example of the Flint Water crisis not to compare RT's coverage to the coverage offered by US media, but to use an example of a very embarrassing thing about the US that is the sort of thing that RT is inclined to publish.

Most people consider it quite reasonable that Maddow covered the Flint water crisis. But there are many other similar issues that do not get any press coverage by the US "news and entertainment" media.

One thing I will say about the US media's coverage of the Flint Water crisis is that a great effort was made to focus only on the problem in Flint, and a small number of officials who acted irresponsibly in the matter.

In reality, many elected officials make similar judgments all the time across all areas of government. It's just rare that we have something as reliable as a simple water pollution test to observe the harm that was caused.

So the real issue with the Flint water crisis is how did incentives come to exist that led Flint's infrastructure to fail so horribly? Where else in the US are similar incentives causing the decline of other important infrastructure? What can we as citizens do to help fix the incentives so that our leaders take it upon themselves to fight for proper upkeep of key infrastructure?

And, even more pragmatically, how many city water supplies are tainted by lead and other chemicals? Have all tests been administered and interpreted properly, etc. I recently learned (for example) that lead level testing in many cities has been highly inaccurate and has led to artificially low readings. This stuff has a tremendous public health impact.

It would be great to have a news organization (RT or other) whose goal it was to publish embarrassing things about the US, its failing infrastructure, and its corrupt politicians. For some reason we are told (by the charlatans) that in order to be patriotic we must defend those things against any foreign assault.

In reality, we in the US would benefit tremendously from increased scrutiny of our nation, its leaders, and its infrastructure. Why is Paul Ryan worth $8M after earning a paltry public servant's salary for his entire career? I'd like to know, and I think chances are if the truth were discovered he'd be run out of office with pitchforks.
The side supporting "yes" perpetrates equal amounts of violence.

Really? I didn't see the footage of the Mossos throwing people who weren't in favour of independence down stairs or dragging them around by their hair. Where do I find it?
This bolsters the point that the future of online dating is not a computer estimating compatibility with creepy accuracy, it's someone engineering an app to be addicting to get the largest userbase.
FYI, vanilla.js is a thing now. Some asshole made it a thing.

http://vanilla-js.com
That's the funny thing with the situation. Both sides screw up so bad there is literally no-one to support here. Whatever comment you make in favor for one will be immediately counter by comments that are equally reasonable for the other one.
Who decides what's legitimate? Twitter? Trump? There's nothing more anti-communistic than thinking for yourself.
Yup. I don't see any outcome here where at least one party doesn't start flipping out.
UK Government links the #WannaCry attack that crippled #NHS to #NorthKorea
I was in Barcelona the three days before Spain's ultimatum on October 19. And fwiw I saw hundreds of Catalonian flags hanging from the balconies, and very few (less than 5) Spanish flags. It doesn't mean much, but at least in Barcelona it seems that citizens are concerned.
>There's a huge gulf between "single-occupancy houses" and "concrete jungles".

Not really. It isn't an acceptable drop in quality of life that I would ever be willing to take.

>Inner-city Paris

Not affordable. Most people live in high-rises in the outer areas. Also paris isn't very nice anymore anyway.
Just pray that the snapshot restoring program wasn't gone.
I would like to see an automated system that correctly knows the difference between interest/promotion of a movement and pushing an agenda. My level of interest may be different than your level of interest; one of which may be considered suddenly pushing an agenda.

Also, what's wrong with pushing an agenda exactly? Are we to ban politicians and opinion writers?
Testing a database, or an external web service, is an integration test. They can be as simple as:

void TestCreateUser() {
var repo = new UsersRepository();
var mockUser = new User("John", "Smith");
repo.AddUser(mockUser); // db call
var addedUser = repo.GetUsers().Single(); // db call
Assert.StructureIsEqual(mockUser, addedUser);
}

For the Twitter web service, you might test that you successfully get a response, as you don't have control of what exactly comes back.
Sure, signaling is fine, as long as it's effective. Dealing with tenants is tedious and laborious. Someone who can speculate on multiple properties probably places a higher value on his time than the cost of utilities. But I suppose we'll see, since some governments are going to try these controls.
It could, but let's remember that the Catalan process to independence has been extremely peaceful for over 40 years.
How to Integrate Segment with ReactJS
Inspired by https://xkcd.com/949/ and https://www.xkcd.com/936/
The feature we’re talking about here is an easy to use version of doing memory layouts like you’d do with C structs and unions. And combined in with that is automatic number formatting. And all of it uses a clean concise layout that’s self documenting.
There is such a thing as premature pessimization: making choices based on intuition about productivity benefits or personal taste that force you down the road to poor performance.

I think it's smart to include performance requirements in your specifications before starting a project (or when taking on the maintenance of one too). Set an upper limit on your TTI or server response times. Turn it into a budget. That's not optimization that's just engineering.
"closest approach" is very unquantified, and 400 meter is a very small object in a large space. It's a hard problem, probably not very prioritized either.
For better or for worse, there will be no independent Catalonia in the foreseeable future. About 40-50% of Catalans don't support this. The EU doesn't support this, no Western nation supports this (save maybe Russia if you consider them Western -- and even their position is unclear). Furthermore, Spain won't allow it, and they're the main actor in a position to do something about it.

Even if Catalonia somehow manages to enforce its declaration, the economic consequences will be so devastating that they will reverse course in due time.
To add to that, the validity of the votes are questionable in the first place: https://en.wikipedia.org/wiki/Catalan_independence_referendu...

> Due to the many irregularities and to the actions taken by the national police and civil guard, the international observers, invited by the Generalitat, declared that the referendum results could not be considered valid as the process failed to meet the minimum international standards for elections.

IMO the Catalan government just lost any legitimacy they might have hoped to have by declaring independence prematurely.
So it should really say "Next steps for Wayland support in MIR". As it is, it seems a lot like this is for Ubuntu proper and not just those who want to maintain MIR. If MIR isn't the main path forward for Ubuntu, then this is not relevant for a lot of Ubuntu users.
Thanks for the link. In that paragraph (the one that was removed), there are two links to Bret’s website and both of those are now 404 as well... what’s going on?

http://worrydream.com/HypercardInTheWorld/videos.html

http://worrydream.com/oatmeal/realtalk-tech-teaser-2017-02-2...
From my not so knowledgeable point of view we have:

It seems the Spanish government messed up massively here. Instead of embracing a referendum about independence they decided to flatly declare it illegal and attempt to ignore the problem.

If they initially embraced the referendum they could have won, I believe that a Yes vote to independence nearly always ends up failing. But instead what happened is, they blankly declared it illegal and hoped that would be the end of it. While parties who were against independence were telling people to boycott it and parties for it telling people to vote yes. It seems the only outcome there is a massive yes vote.

Once they had the massive yes vote, they have a democratic mandate for independence. Not only that, they get to say they have 90% mandate. The only way forward from that is for the Spanish government to back down and start negotiations or for indepence to be declared.

Here we are as Catalan declares independence, which it seems can either turn into a civil war, a flat-out failure with everyone arrested, Spain eating some humble pie to get them back to the table, or Spain just accepting Catalan is gone. It'll be interesting to see what happens.
Eh, I think it depends. If the Spanish government now takes over the Catalonian government and schedules new elections, and the anti⁻independence parties win by a reasonable margin, it may deflate the whole thing.

If there's actual major popular support for independence, then yeah, I don't see how the Spanish government can defuse that grenade without major concessions, which I don't see Rajoy accepting, so it could get very messy.

(Don't take my opinion very seriously, though; while I have close ties to Spain I don't have any particular knowledge about this situation)
Why DAGs Are Overrated
To me, unless there is outright fabrication or an intent to deceive on the part of the original reporting source, it isn't fake news.
We need to re-think intellectual property. If a creator (or worse, buyer) of an IP loses interest in supporting it, then why should they retain a legal monopoly to do so?
> It is a legitimate
> news source though

On what basis? Because a certain percentage of their stories aren’t propaganda? What % does that have to be? Is Uriminzokkiri a legitimate news source because some of their stories are factual? Was Pravda?
Yeah, or something other than react is seriously screwed up. I said a couple of days just to have time to do styling (assuming design is already done.)
Also efficiency, you want the most often true thing first. Although it is more important in nested if's. Had a colleague write a If else nested 104 levels deep (pre COBOL II so no case structure available). We halved the run time of the program simply by making the four most common conditions the first four.
Are you saying it's fine if the vote doesn't represent the democratic will of the people as a whole because the government was using violent means to ensure the rule of law? So a minority group should be able to unilaterally dismantle a country contrary to the democratic wishes of the occupants?

As presented you appear to stand firmly against democracy, is that so?

If the vote has been carried out properly then there would be a leg to stand on.
Seattle’s housing market is growing twice as fast as San Francisco’s
No with TDD you don't need to go in with a structure in mind, the structures arise as you write more tests and get a proper understanding of what components you'll require. Red, green, refactor - each refactor brings you closer to the final design.
Climate change might not have been the best example as its a closed and shut case from a scientific perspective. Maybe the merits of doing anything about it would be a better example?
When your hand moves, does it pass through an infinite or a finite number of positions at a finite or infinite points in time? Infinity need not be big.
I stumbled recently on this improved video of the assassination - https://www.youtube.com/watch?v=Sqk3sdfXFkc
A different viewpoint: "adding a new axiom" is synonymous with "further restricting the things under discussion".

Imagine biologists decide that "DAG" is the correct abstraction for parent-child relationships. Then they spend years trying to prove the obviously-true fact that parents can't have infinitely many children. Of course, they never can, because DAG nodes can have infinitely many children. Finally they realize they chose the wrong abstraction, they should've chosen "DAGs where all nodes have finitely many children".

To suggest adding a new axiom to ZFC is to suggest that ZFC was an over-broad abstraction for capturing what things are supposed to be "sets".
Oh look, yet another idiotic right-wing article pretending that "tax" and "income tax" mean the same thing.

Include sales taxes, payroll taxes, and everything else, then see what the numbers look like.

Anybody who tells you that X% of the population pays Y% of all income tax without mentioning other taxes is trying to deceive you.
As I said, the propaganda machine is more developed in one side. The story is related by those who have a stronger interest. I've indeed seen videos of violence against those who don't think like the independentist. And I've lived in the region for 6 years, there are many other forms of violence as well. But you can look it up on the internet. You won't find a web index with hundreds of videos though, that doesn't surprise me.
Simplify testing of Redux action and async action creators
I agree with you from a programmer's perspective, but a banker who has limited knowledge of how open source works may not.
Like Norway and Sweden?
Your policy of "crash prices and keep them low" has the greatest impact on owner-occupiers. If you look at historic collapse of housing bubbles, it's the negative equity / underwater owner-occupiers who suffer losing their home or losing their mobility. Speculators simply shrug it off since they have the flexibility to move their investments.

An increase in average wage growth would support both owner-occupiers and first time buyers.
A next step for Wayland, in general: https://github.com/SimulaVR/Simula

This is a Wayland-based 3D compositor for usage in VR (HTC Vive, etc). Imagine a future Ubuntu that let you navigate your work in highly immersive 3D environments. :-)
I don't think slacking in science is a bad thing. Less papers means less noise and if people are not sufficiently motivated by their ideas themselves may be it is best for everyone they are not publishing.
Not across the whole country, just in the area around Aukland's urban core. And I'm not convinced it actually decreases the quality of life of the average person. In fact, I'd wager that it increases it, by reducing cost of living.
Wow that site loads instantly
Which (roughly) correlates with the percentage of total wealth controlled by the top 20%. It would be interesting to see, as granularly as possible, how total contribution to tax and total ownership of wealth vary across each percentile.
Playing musical instruments with your voice and machine learning
On Google, Sidewalk Labs, and Smart Cities
My impression was that COBOL has only a global data space, and that there is no way to write functions - rather like the original BASIC?