skysight-inc/HackerNews huggingface dataset:
One BIM is ca. 4000 $ in hardware - we work with an industrial manufacturer with "BIM" ready housing designs suited to be operated in the public space. Import / local operating permits: 3500 $ - the impact / ROI is depending on the operators of the BIM locations. The salary is paid anonymously - the users are free to participate in features (e.g. suggested by the local people helping setting BIMs up).
If it seems like a poor argument against testing, that's because it's not meant to be one! It's meant to be an argument against the notion that "production code tests the tests". It's also an argument for making sure your tests are effective.

> Naturally, if you write bad tests then they won't be effective

But how can you tell if your tests are effective, i.e. if you wrote "good tests"? Production code alone is not enough; you cannot tell if a test is green because everything is ok or because it's buggy/incomplete. You must introduce some degree of quality control in your test code.
How do you determine that? I wrote mine in LaTeX but submit a PDF. Usually that default LaTeX font is a dead giveaway, but I find it to be pretty ugly so I switched it out.
How many times do we have to go over this...

Telemetry != Tracking

Telemetry data has been gathered since Windows XP and it's gathered in the magical Windows 7. It's not new. It's used to identify problems with their software and how it interacts with users systems. It's also used to understand how users are using the software and what issues they encounter.

Microsoft even provides documentation of everything captured under basic tracking.

https://docs.microsoft.com/en-us/windows/configuration/basic...
Good observation. Compounding progress in other sensors (high-resolution stereo cameras, GPS, radar/proximity) has also been important, but none more so than lidar. Also, increased on-board processing power for computer vision/machine learning. In the early 2000s we had nowhere near the onboard compute that we have now.
Unless you have strong preferences on the diseases you end up getting, isn't the important thing aspirin's effect on total all-causes morbidity/mortality?
This charts looks awesome. Will surely use in my next project. Can I know how I can add two data points.
I mean how to show two graph lines in single chart?
Well, because it's a mechanism the user is not controlling and is potentially problematic if someone makes the plugin download an update package from another source. I'm a bit paranoid, but I would prefer all functionality to be within the plugin itself. There's a plugin manager for Notepad++ which notifies the user of plugin updates.
That's a rather bizarre definition, by which Greece is a ”Western" country (ex-Byzantine!), while eg. Switzerland is not.
> as of 18 September 2017, Yahoo and Oath plan to share some user information within the Verizon family of companies which will enable us to integrate our business, allowing us to coordinate more and improve your experiences.

Might want to finally ditch your yahoo email address. ;)
I noticed, when viewing the demos on my phone, that there were some issues relating to responsiveness. Specifically, the axes labels were overlapping. Is responsiveness a priority with this library?

Other than that, great work. I look forward to testing this out.
Ask HN: Is there a study that proves that older software is more expensive?
>If taking aspirin were without side-effects and completely risk free, it might make sense for everyone with heart disease, or just worried about it, to take it. But aspirin does have risks. Reducing blood's clotting potential can lead to hemorrhagic stroke (bleeding inside the brain). In the stomach, aspirin can cause everything from a feeling of mild heartburn to bleeding ulcers. Severe gastrointestinal bleeding can be deadly.

https://www.health.harvard.edu/healthbeat/should-everyone-ta...
I'm not making a judgement call about whether Clojure is growing or shrinking. Just saying that StackOverflow isn't a good gauge for the reasons I listed.

Github is a better gauge. I wasn't aware that it was trending downward. My impression was more that it was slowly accreting instead of following a sharp curve, which is just fine by me.
The claim was:

"That's why we have government regulation."

We do not have government regulation for the content.

"Facebook successfully blocks all sorts of content because of its policies (porn) and government policies (child porn)."

No, facebook is blocking all kinds of content because in its view it can make less money allowing this content than not allowing this content.

If facebook/twitter/tumblr/google/etc blocked child porn then there would have been no child porn on these platforms. Child porn does exist on these platforms because it is not being blocked.
Well, he did swap out the client-side and it worked, so that's rather indicative of it not being a server-side problem.

Not entirely given, it could be that Chrome happens to implement erronous or non-standards-compliant behaviour which just so happens to match up with the erronous or non-standards-compliant behaviour of the server, but that's starting to get a little far-fetched.
I think it's more than just "specification driven development". The question is, does your code match the specification? What is your objective evidence that it does? (Yes, I know, a test is not perfectly objective evidence. It's better than "looks like it should work", though.)
Or Blacks get charged far more than whites, or that Blacks are policed more heavily, or that it has to do with poverty more than skin color, etc.

The issue is that the data can't be conclusive unless you have an issue where you took two groups of people, gave them the same economic starting point, gave them the same systemic disadvantage, same opportunities and then could make a determination as to whether or not it has anything to do with culture.

Or you could easily look into the fact that economically there is a long history of repressing people of color and that systemic collection of repressions them still exist leading to the exact outcome expected, but still blame those people for "not picking themselves up by their bootstraps". It's as though you haven't seen Trading Places.
Question: For codebases that are all about package managers Yarn, what's best practice for integrating something like this? Just push it into a 'vendor' folder?
iOS 11.1 is out now with new emoji and Wi-Fi bug fixes
ASP.NET MVC – Using JavaScript with Ajax and Razor Partial Views
I strongly agree, and disagree with many parts of this.

One part I strongly disagree with, is this passage:

> Most programmers want to "hear" the "information" that their program component works. So when they wrote their first function for this project three years ago they wrote a unit test for it. The test has never failed. The question is: How much information is in that test? That is, if "1" is the passing of a test and "0" is the failing of a test, how much information is in this string of test results:

> 11111111111111111111111111111111

> There are several possible answers depending on which
formalism you apply, but most of the answers are wrong. The naive answer is 32, but that is the bits of data, not of information.

Just because a test has passed in your Continuous Integration environment 100% of the time, doesn't mean that test is worthless. I have checked in many tests that have never failed in CI - but have failed when I was working on my code. However, since there's no shiny team-visible metrics with bar charts about how often a test failed in a local workspace, people can wrongly assume that a unit test is worthless.

> Now, how many bits of information in this string of test runs?

> 1011011000110101101000110101101

> The answer is... a lot more. Probably 32.

If I see that in our CI environment, the answer is 'this test is nearly-worthless.' The long answer is 'If it's a unit test, there's a race condition, if it's an integration test, there's a race condition, or it's flaking for reasons outside our control.'

> Another client of mine also had too many unit tests. I pointed out to them that this would decrease their velocity, because every change to a function should require a coordinated change to the test. They informed me that they had written their tests in such a way that they didn't have to change the tests when the functionality changed. That of course means that the tests weren't testing the functionality, so whatever they were testing was of little value.

... That's the whole point of blackbox testing. If observed behaviour is not expected to change, neither should the test. If a refactoring forces you to update the test, then, yes, you are testing at the wrong level of abstraction.

This piece could have saved a dozen pages if it just told us to stop testing private methods, and write more integration tests.
When I was still going to computer graphics classes the ThreeJS source code helped me learn a bunch - the code is pretty straightforward when it comes to the basic to at least get a scene and an OBJ loader working with some shaders.
I don't see the difference between sending a Person instance and sending a map of keywords about a person. The coupling is the same.
It's a moot point for me, at this point in my life. Hopefully it's good advice for someone else. With the psychedelics, we're talking about a 2-3 year period of my life that started roughly 20 years ago. And what you're saying is all common knowledge to myself and my then-friend group. I honestly have no idea what my frame of mind was but I don't recall ever starting a trip in a bad state of mind. I just know that I had good trips and I know that I had bad trips. And the bad trips went very, very bad and grew over time in both frequency and intensity. Maybe I was taking too much? It didn't seem like it, at the time, at least in retrospect. Who knows.

But then, I can't reconcile these things with my experiences with medical marijuana in 2012, either. I was a recreational smoker for probably 4 or 5 years of my life before the bad mushroom trip (after which, I wholesale quit drugs the very next day and also didn't have a drop of alcohol for 5-6 years). I never really experienced much anxiety from marijuana in my youth, but when I went back in 2012 it was a totally different ball game. I worked with my dispensary to try to sort out a strain that would help me and came up short.

FWIW, I opted instead to address the utter lack of physical activity in my life and it sorted out the sleep issues and has persisted to today.
Google shutdowns QPX API
Wow, I never thought about it that way. You have single-handedly changed the advice I'd give to my family on the issue. (Except for the resume advice above, which I think still holds.)
Ah, thanks. I knew I'd heard of aspirin-liver related crises, but I hadn't realized Reye Syndrome happened outside of normal metabolism!
Let's say I run company A, and Company B wants to buy all of my user's information but I've already created policies that say I won't share user information with 3rd parties.

Could I:

1. Create a subsidiary (Company C)

2. Share info 'internally' with company C

3. Sell Company C to Company B
No... the question is how easy will it be for "Solar" companies to slide into becoming "Solar & Battery" companies.

Full solution - all with Silicon.

If that's possible - and they can improve the cycle count... or do it cheap enough to make up for a low cycle count... or all of it - improve it, make it cheaper AND under one roof?
No problem!

I did read Clean Code by Robert Martin. He's definitely in the "die hard TDD guru" category, but there are still useful examples to be extracted from the book.

Besides that, I mainly learned a lot of testing tricks in the wild, reading through Github projects. My learning process now-a-days is mostly:

1. Discover a really cool trick or concept I didn't know existed in a Github project.
2. Research the hell out of it.
3. Try to use it in some personal example project.
As in many areas of thought, when the pendulum swings too far in one direction, it then swings too far in the other direction. Hopefully we'll arrive at a reasonable middle ground at some point, and unit tests will be valued (and prioritized) neither too much nor too little.

On a side note, unfortunately I think the software industry tends to be particularly bad about this pendulum swinging back and forth between extremes thing. There is so much emphasis on innovation that people are biased toward making radical changes and believing they are going to revolutionize everything. And the culture is such that the more you go out on a limb and push something radical, the more you are respected, because we often value guts more than good judgement.
How else are you going to get Super Bowl commercials?

A well run franchisor who are fair to their franchisees and legitimately care about their franchisees success is a great deal for the person who wants to run a business (and the profits that come with that!) but, for lack of a better term, doesn't want to think too hard about it.

In exchange for a small fee the logistics, marketing, food development, training materials, etc., etc., etc. are outsourced to a large company who has a track record of success, customer loyalty, and brand recognition. Sure, if you get pride building all that yourself from the ground up it would be a bad deal for you, but some people simply don't want to do all that.

Of course, part of being a well run franchisor is properly vetting its franchisees as well as doing quality control on its franchisees.
I don't blame statically typed languages. But, yeah, they are a bit more unforgiving if you need to refactor your way out of that mess is all.
It’s part of the metadata. Look for content creator and PDF producer fields.

Or even more simply, just use your eyes. The superior line breaking algorithm is extremely obvious, with or without microtype. Then less obviously, look at ligatures, kerning etc.
I disagree.

Coverage tests how much of your code is exercised by your tests. Mutation testing is (one way) of testing how effective your tests are -- i.e. how sensitive they are to bugs in your code. It follows that good tests must have both good coverage and good effectiveness, but the two are not the same.
> Hindsight is funny :)

So is survivorship bias. There's countless other times where the naysayers were spot on and their comments are long forgotten because the predicted failure happened. It's more a commentary on the wisdom of being a detractor. Unless it's going to be a truly spectacular failure, you're better off not saying anything since you'll either be right or remembered but not both.
Having spent the first 5 or so years at defense companies, I agree. There was no career progression,especially without switching companies.

They want you to have a degree so they can charge more, but that's about it. You can easily work on the same project doing the same things for 20 years; I worked with people who did.
Bugs are your best friends
We are almost in the end of 2017 and i see this article. These people are living in 1017.
Python Data Structures Idioms
If it were true that people are "ruined" because they were involved in a failed business, capitalism couldn't work. The rule is the same for any system: don't risk more than you can afford to lose. Plenty of people recover from a failed business and either start another or do something else with their lives.
I disagree with this, and something doesn't quite feel right.... It's an interesting meta look at this idea that prostitute has a correlation with rape, or sexual assault crimes in general, but I don't buy it. Correlation is not the same as causation. It also seems to imply that men have this urge to have sex that if given an "outlet" through prostitution, means they won't go and rape someone.
Investing in new infrastructure and a changing market is more expensive than talking to a few Senators and buying off the shelf DRM solutions
Can I just touch on the relational vs nosql comment? I'd like to point out that data almost always has a schema, and it's almost always relational. Most of the time when people use nosql with map of maps, they are simply refusing to recognize and formalize the structure of the data that is already there. This absolutely leads to errors and performance problems. There is a small class of problems where specialized databases do excel, but it's definitely not the common case.
I have been building/running a pretty successful chatbot for a large corporate for over a year now. We use Inkles Ink to script the conversation flows and maintain state. Works very very well. https://github.com/inkle/ink
What are some impeccably designed, everyday, simple objects?
This should be pondered by the number of quotes of people believing their product is definitely the future. Well, if we ever find them, because nobody remember failed start up owners (until they become successful that is).

We should however easily find quotes from demo of failed products, such as the Zune being the greatest thing ever...
Standalone Signal Desktop
Get productive on unfamiliar source code
You might want to check out Brave [1] which does pretty much exactly what you described:

> Set up automatic micro-donations. Brave will automatically divide a monthly donation among the top sites you visit.

See also their blogpost about it [2] and the FAQ [3].

[1]: https://brave.com/
[2]: https://www.brave.com/introducing-brave-payments/
[3]: https://www.brave.com/faq-payments/
I am not a lawyer, but that doesn't sound legal:

"Additionally, discrimination against employees on the basis of past, current, or intended military service is prohibited. As with other types of discrimination, this applies to hiring and firing decisions; compensation and benefits; and other employment decisions."

http://military.findlaw.com/family-employment-housing/what-i...

...so the best solution from an employer perspective is to enter a risk pool that distributes the risk. Being a big enough employer solves that problem, but there should theoretically be pools for smaller employers to join as well. I wasn't aware if that was the case, which is why I was asking.
What about those that don't get ruined... but get made successful?

Sure some lose - and get crushed by the wheel of fate... but others win.

Where else do you think the McDonald's and Outbacks come from?

Remove the chance of getting ruined.. and you remove the chance of getting made and the reasons for risking it all.
Notably, according to GitHub, it's had precisely 1 substantial contributor in the 8 year life of the project.
If only the alternatives weren't worse.
>If it were true that people are "ruined" because they were involved in a failed business, capitalism couldn't work.

You must be very young or very naive. People are ruined by failed businesses all the time. The thing you're missing is that the people continuing the churn of business creation are not the same ones who were ruined by it.

If you seriously think there is no human cost when businesses fail you're simply delusional.
The spreadsheet with formulas is more helpful than I would have imagined (remember to look at the assumed constants tab).
He talks about that quite a few times in the video.
High School CS teacher here. Repl.it has always done me a treat, I've have had one or two odd bugs but 99% fine and they're adding nice features aimed at education too.
> Is responsiveness a priority with this library?

It sure is. Just pushed a fix, thanks for reporting :) Do report any issues you find over at https://github.com/frappe/charts/issues
Actual desktop Office and an encrypted blob on OneDrive or Dropbox.
I have been doing this with a large chatbot (350+ conversation topics,40k words of regionalized content) and it works fantastically well. Core of bot brain is open source https://github.com/rabidgremlin/Mutters
We will share ... your account registration information (such as your user ID, gender, name, email address, postcode & age), your content and advertising interests, content associated with your account, the types of services you use and how you engage with them, cookie and device IDs, IP addresses, geolocation information and activity information from across our websites, apps, software and other services. All of the information that we collect about you may be shared across the various Oath brands and within our Verizon family of companies.

To delete your Yahoo account, click here:

https://help.yahoo.com/kb/SLN2044.html
People are getting locked out of Google Docs for supposedly violating ToS
Scary stuff and can only hurt Google's move to become your go-to office suite. Imagine your PC decided which files it did and didn't like and removed them without your permission? Sounds like the reality now if you own a Chromebook.
We're back up! :)
Anecdotally, Kratom use can also lead to long, opiate like withdrawls (weeks of hyperalgesia, no fun). Other short term opiate like side effects like nausea are common as well. I would definitely recommend against self-experimentation unless you are prepared for lengthy withdrawl symptoms.

Hopefully more research can be done into its constituent chemicals before it is banned in the US. The DEA already tried, and its illegal in several states.
Oblig. Plug for cryfs.
The risk part is the small margin that means you can't survive small bumps that lead to a drop in conversion.
Booo Don’t Let FUD Scare You
If my function only needs to know the "age", then why am I having to fill out my Person class with all the other stuff? Why, if I have facts about a Cat in hand, must I coerce it to a Person? These are hoops you're typically jumping through when you're dealing in ADTs.
Honest question: Would you toy with the idea of adding a small blurb right at the start of your resume stating this?

I'm thinking a box that acknowledges up-front that you have diagnosed dyslexia, which would explain any spelling mistakes, but that you're still highly competent as an engineer.

Not sure about others, but if I were hiring, I would welcome the honesty and instantly stop caring about any errors.

Note: I'm not an employer, but I have been asked to interview candidates.
i've anecdotally heard the frozen yogurt places were very popular for investor visas. open up, get citizenship, close, sell equipment https://www.visafranchise.com/blog/eb-5-l-1-e-2-visas-obtain...
MVP Project Template Conductor and Nucleus and RX2
Google Colaboratory – Jupyter notebook environment that requires no setup to use
Agreed. I like Dropbox Paper a lot too.

Just a solid all around company.
> No, wtf is this contacts thing you added in that I can't seem to remove.

HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People, key PeopleBand of type Dword, set to 0.

However, normal people should not resort to configuring their system via registry. This should be normal, disableable feature, if it has to be there at all.

Do not forget to re-check after earch update.

And yes, I do mind the telemetry data. So do I mind resetting the user preferences by updates and forced updates too.
Facebook Stumbles with Early Effort to Stamp Out Fake News
Before people get all negative about the article, be sure to read it, because the author does answer that yes, it does make sense.