skysight-inc/HackerNews huggingface dataset:
You can't really safely alter legacy code unless it had decent unit tests. Red/Green programming (test drive development) is absolutely essential in cutting down on technical debt.
The Web App Challenge 2017
> Really? So why don't they show more commercials, or charge more for the service?

Because there's a balance where doing more would lead to much more immediate revenue loss. Few people would watch a channel with 20 minutes of commercials for every 10 minutes of show, but network TV has already demonstrated that people will watch shows with 8 minutes of commercials for every 22 minutes of show, especially if they don't have a good alternative. The loss of customers from such a move takes longer to show up in the bottom line, and it started before alternatives like Netflix existed.

> The reason there are commercials is it allows them to offer the service for less money and most people don't care.

They're not in the business of offering a specific fixed service for as little money as it takes to cover their costs; that logic would apply to a non-profit or co-op, not a for-profit company. For a for-profit company, lowering prices isn't an end, it's a means.
Netflix's main advantage is that they have by far the best UX of any of the streaming services, but that's unlikely to be a particularly durable advantage, and probably not what many people make decisions based on.
What about independent researches and tests that all state obvious facts - battery is not that bad, but the overall internal construction was flawed the battery was positioned close to high-heating elements which caused the overheating the battery and blasts. Pathetic false statements from Samsung, but nothing new. Who can trust this crooked company after such bs explanations...
Sergey Brin: The Future of AI and Google
I second this, except for the "hope you're being sarcastic" bit. Publicly accessible root cause analysis data could do for consumer electronics and software development what the NTSB has done for aviation.

However, it does look like in this case additional data from a few regulatory or quasi-regulatory agencies has been provided (PDF links after the infographic), and the infographic is reasonably detailed.
> cockroach doesnt do joins

It doesn't have optimized joins yet, but it does do them.
At the 2008 Beijing summer olympics they actually reduced the censorship a little until the games were over.
> "unsafe" is expressing that you are opting-in for less safe code. Same in C#.

Yes, but that is scoped. You can write unsafe code when designing an abstraction, and seal off the unsafety with a safe-to-use API. You then verify the abstraction, and are free to use it however you want. This is what's usually done, and this is what unsafe is for.

"mut" isn't really a red-flag keyword. Sure, you don't want unnecessary mutation and everything is immutable by default, but nobody really has issues with making things mutable. Rust is not a language where purity is important.

"unsafe" is, but for designing abstractions that's what unsafe is for, and while you still should justify it, "I need an abstraction like this and it can't be implemented in safe Rust because <reasons>" should be enough. Of course, you should be able to explain why it is safe to use, preferably in the docs/comments.
Hopefully one never needs to exchange their watch for cash in an emergency but I see the advantage, in general do you insure it against theft or loss while traveling overseas with it?
it feels like if you almost read the article.
Warren buffet buys Goldman Sachs off-market for a 20% discount during the GFC. It's not the first time he's been given a very large return because he's warren. Comparing returns including that kind of thing to what you and I can get buying at market prices on a stock exchange is absurd.

His returns come from management giving him their shareholders wealth as much as anything and have done for some time. Someone will now claim he was righteous and a white knight saving salomon's management or saving goldman's from gfc ruin or whatever. Believe that if you like but don't compare it to those who were shut out from making that same buy at the same time and same price. I'd be surprised if in the past 20 years or so if you factored out all the off-market, warren only buys he got if his returns didn't look a lot more like the S&P500 adjusted for statistical risk using standard CAPM beta measures.

Saying so out loud will offend the hell out of a lot of people who really need to believe. But maybe someone will calmly and dispassionately do the calculations and show my suspicion to be wrong.
Rust is about safe-to-use abstractions, not necessarily safe-to-implement abstractions. While we like for abstractions to be implemented safely, it is totally okay to write an abstraction using unsafe code provided you can give it a safe API.

So these abstractions may be implemented unsafely, but once implemented you don't need unsafe to use them.

The only abstractions that C++ has that Rust doesn't are those involving intrusive datastructures (and you can make them work in some cases).
This is true, but there's a 'surface simularity' problem. It's easy to go from writing C to writing old-fashioned 'bad' C++. Modern C++ really is a different beast.
How would someone with no knowledge of the game learn to play poker? Any good books that stress the mathematical/probabilistic(/game theoretic...?) side of things?
debhelper pretty much automates the process of packaging any standard distutils or setuptools package, Red Hat distributions have templates for packaging Python libraries as well (and rpmdev-newspec python-mypackage will automatically generate an appropriate .spec file).

Windows and OS X are always a pain in the ass, but that's more an issue of the platforms lacking in package management than anything else.
In Russia it's mostly not like that. If this information is depersonalized (eg. IMEI) then everything is fine. But if you store something "personal" (eg. names with phones) then you have to store it on server located in Russia.
Show HN: Expreduce, a language for math written in Go
You can do this in Greenplum too.

I've always liked the idea of moving general compute to the database, but usually in an organisation the databases are pretty tightly locked away and it becomes a pain to get the right versions of your libraries installed.
Well, gee whiz. Don't I feel terrible now.

Like, wow man. It really makes you think.

It makes me think about illegal search and seizure, and how I guess that only matters for special people. It makes me think that, hey, maybe some inalienable rights are actually kind of alienable, depending on who you decide to alienate, right?

They get paid money to do their jobs. Well wowee! That means they're correct in fucking people up arbitrarily right?

Special person on a blacklist? Fuck 'em up! Don't like the looks of those guys? Fuck 'em up! Hate your job and need to take it out on somebody? Fuck 'em up!

Sure, I get that. But where does the black list come from? Can I vote on who gets listed?

You know, I got some people I'd like to fuck up, myself. Would that be okay?

What if I decide to hire someone to fuck someone else up for me? I got some money to pay them. At that point, they'd be doing their job.

Hmmm. Maybe I should pick a career that let's me fuck people up, just so's I can help write those lists. It'd be my job, after all.
The netflix UI is terrible, if that was there strength they wouldn't have lasted this long.
There is a great range in how humans actually do work, so there is no clear line between optimization/improvement and perfectability--after all, isn't "perfection" just another synonym for improvement?
It looks like, based on the infographic, the insulation tape was punctured by overly tall welds.
I like the threading / processes abstractions. I'll be watching this over time. Kudos.
They have too many competitors right on their heels for that. Netflix introducing ads would drive people to Amazon Prime, and vice versa. (Hulu partially gets away with it because they have an offering their competitors don't, namely seasons still in progress.)
Was it really especially notable or was it cheap news on inflammatory issue?

What are the consequences of such publicity for a known terrorist group?

I do not know the answers, probably nobody does, front page of a news site and a newspaper is a thing of tremendous value and not to be used lightly.

The more interesting part is what does not get reported by either side, which is the additional say 10 murders at the same time in other parts of the US.
The root cause analysis from three different engineering firms is in the linked analyst reports in the footer. Samsung are not being patronising, they're producing content all their affected customers can understand with the infographic, and for those that are more technically inclined or curious - they releasing the technical reports they commissioned in full with all the analysis and findings. You can't fault them for that level of disclosure.
I think the advice given comes from a place of wanting to help, but it's the same mistake I see natural extroverts make time and time again- that solitude is itself a sickness.

The fellow with low self-esteem may have other issues at well, but telling him that the desire for distance from others is innately wrong isn't going to help him become healthier.

I think a lot of people with social anxiety would feel better about themselves if they were, instead, told that it's OK not to be more social than you want to be. There are still behavior rules to be followed; this isn't license to be a jerk. But for many people, they honestly don't do best with too much contact with others, and that is OK.
Wealth might not be a good measure to classify middle class in China. A two-bedroom apartment easily costs more than a million in Beijing. Annual income might serve better.
Ask HN: Any certification discounts?
Dear HN,

Are you aware of any professional certification program at a discounted price? Any coupon to apply when buying an exam voucher? Any discount for students?

For example, I know that Neo4J provides certification at no cost.
https://neo4j.com/graphacademy/neo4j-certification/

And Oracle has some Beta Exams at lower prices:
https://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=182
Bullshit! the facts state exactly opposite.

no replacement or refunds for half of customers, lack of communication with public, false statements and lies. they even removed videos from youtube!
Trump Twitter archive
IMO, Netflix originals mostly suck and HBO is king. Tho, if you come from network and cable television and your standard of good television is Prison Break, I can see how Netflix content and its originals could be appealing.
> whereas your hypothesis is:

> * America (as a society) is racist.

If that is what jolux meant I have misread too.

To me it reads like jolux is speaking about us as individual racists, which more or less obviously is easily interpreted as an attempted insult.
"Our findings show that users mostly tend to select and share content according to a specific narrative and to ignore the rest. This suggests that the determinant for the formation of echo chambers is confirmation bias."

No news there. I wonder, though, if science needs to fight back with better guns against confirmation bias.
So this makes the router sends a stronger signal, farther. But how does this help if my laptop still has the same wifi adapter and can't send a strong signal back?
What I Learnt from Entrepreneurs Around Me in 2016?
I'm concerned, but optimistic overall. I see Netflix benefitting from all these factors:

- existing shows which reduce set/CG/marketing costs;

- lower production costs as shortage of sets and filming equipment is lessened by new supply entering market;

- less need to higher huge stars to sell the idea that the programming is high quality, and with more huge stars willing to do TV, paying not quite as many million dollars to get them;

- expanding into lower cost TV (similar to the Tesla strategy to move downmarket.) Sadly, this means people who enjoy a lot of the existing shows won't have twice as many shows targeted towards them, but it shouldn't affect their perception of Netflix.
Confabulation.
> In the last year I had gotten myself addicted to the game Clash of Clans. Not purposely. I was in Myanmar on a research job and noticed all the farmers were playing it, atop their buffalo in the fields (where the 3G was strongest). I wanted to understand what compelled them to never put down their phones.

That's very interesting. I didn't realize CoC was that widespread.
They do sell it... on DVD & Blu-ray. If you don't mind spending $120 you can get all four seasons of House Of Cards on DVD. But that would also buy a year of Netflix, and most people would see the Netflix subscription as the better deal.
Besides issues like requiring javascript or something, its usually not a useful step. The hash of the password can be stolen just as easily as the password itself. You've just made a new password.

If you salt the password with the url, all you've done is made a unique password per website which is what you were supposed to be doing anyway.
Well before these even. HBO has been pioneering the edgy, interesting, original content model for television shows since the 80's. 1st and 10, Larry Sanders Show, Oz, Real Sex, America Undercover, Not Necessarily the News, and on and on...

Netflix has obviously run with the idea though. I'd love to see Netflix and HBO merge actually.
That is not the missing insulation the parent comment is talking about. The insulation puncture is another fault.
> But I can live with it because it requires no explanation to new developers on a project.

Even if it does, I'm a big fan of still mentioning it in the README. For my Go projects, it's usually just one sentence: "This project is go-gettable, or you can make && make check && make install". Avoids a lot of useless confusion.
I see I'm not alone in downvoting you. Personally, this is because you're just being contrarian and not really adding to the discussion. Deflected electrodes, insufficient insulation tape, and high welding burrs are absolutely fine explanations for what happened here. As someone who works with batteries, that would tell me everything I wanted to know.

In this case, the "root causes" are not terribly interesting. The cause for the high weld burrs is that the settings on the welding machines were set wrong. If they said "the settings on the welding machines were set wrong", or the root cause for that ("our battery technicians were incorrectly trained"), that would have been useless.

In contrast, this is a fantastic explanation, presented in a very clear way. If I was running a battery fab, I'd be able to check for these problems in 20 minutes.

Further in the favor of Samsung is that battery fabs are some of the most opaque places in the world. They never release any information of any value whatsoever to the outside, and there are only a handful in the world. For Samsung to release something like this so candidly is absolutely unprecedented in the world of batteries; I was shocked when I saw the post.
At any given time, some fraction of people are going to be burnouts. That's just a fact. I think they still deserve a baseline of wellbeing, without judgment. If they use it to better themselves, great. If not, oh well. But we spend so much time and effort trying to pick the winners rather than simply giving people a minimal foundation.

For those of us with work ethic (the vast majority of everyone, to varying extents), our extra effort will be rewarded by the market, if we do something that other people find valuable, or intrinsically, if we're just doing what we love.
Very similar. I think Pipenv improves on Bundler by leveraging Virtualenv and Ruby doesn't have a per project equivalent to Virtualenv that I'm aware of. You can set the path config variable of Bundler to not place the project Gems in a central location which I think is cleaner and try to remember to always do now.

It would be _super_ interesting if the Python and Ruby communities got together to harmonize every last detail of their packaging toolchain. Who is in?
>Line-length can exceed 79 characters, to 100, when convenient.

My issue with this is that, in reality, everything will now be 100 chars.
If you have a suitable river not too far away you actually can mine using hydromechanical power. [1] Turning it into electricity loses a lot, but transmission is of course easier

[1] http://www.lowtechmagazine.com/2013/01/mechanical-transmissi...
Arrow is on Netflix Australia, as is Gotham, but I think a rival streaming service has the rights to The Flash (Stan? Presto?)
Now if the battery would have been removable this would probably have worked out a lot different.

Why do we not have standardized removable batteries for mobile phones?
The big media organizations have brought this onto themselves.

Take CNN for instance. The entire summer they beat the drums that the world is going to end if the Olympics are allowed to proceed in Brazil because of Zika. Way overblown. And then, after this propaganda exercise, they have the veracity to run an online poll to see how many people are in favor of pulling out of the Olympics.

And they do this with everything. Be it literally shilling for Hillary this entire year or anything else. They have a pretty uphill battle to make themselves trustworthy again.
feels like you almost understood what i ment.
- Need to get enough natural light so your pineal gland keeps your sleep cycle in sync.

- Need to breathe correctly.

- Sugar makes you tired. Avoid sugary products and products with added sugar.

- Avoid stress, anxiety and try to do something about it. Preferably in a natural way. Identify situations that you can control, and the ones that you can't control. Avoid getting anxious over things you cannot control.
The First connected giveaway running on SIGFOX network
Until users stop using the same password everywhere, your aquarium website is effectively the security for all your users accounts, including their bank.
Apologies for the late response. I didn't mean to imply that it is easy being homeless in SF, only that it is in my experience easier relative to other parts of the country. Again, being homeless in SF sucks and is very difficult, but it sucks less than being homeless in Orange County, or Tampa, or many other parts of the country.

I'd also add that solving the problem isn't simply a matter of throwing money at it, although that may be a better alternative than not putting any money towards it. I've seen figures cited that SF spends well over $100 million on homeless issues. Building housing specifically targeting the low income and homeless population, rather than increasing density overall, also doesn't seem like a winning solution. I believe the average BMR unit built by the city of SF ends up costing the city around $700k-$800k per unit.
IAMA 100% automated independent retail trader. AMA
How latency threatens the future of robot servants like Jibo
Was it "their rapists" or "they're rapists" that he said? One makes sense in the context, the other makes people outraged.
I believe the % from Rolex that get certified is 100%. Not 3%.

Most major high-end movements are better than -4/+6 seconds a day anyway.

Mechanical watches are not trying to be accurate compared to quartz watches. Rolex watches could lose 1 minute a day in accuracy and would still sell thousands of watches a year.

Everyone has a phone in their pocket, this product/toy/luxury is not about keeping time.
Why You Should Avoid Free BBW Dating Sites
In situations where the language allows either quote, I think any ounce of time spent by anyone debating to use one or the other is pure waste, including this comment.

Just do whatever you feel like. If your editor, linter, or review process makes you change it, those things are broken.
I don't agree with allowing characters to go over 80 - there is rarely a time the code can't be broken down to fit.

80 characters helps a lot since you can count on all code to fit within a certain area - so you can run three side/side text buffers in your text editor, instead of two with lots of useless white space because a few lines might be too long.

Doing a simple overview of the requests library, most of the lines over 80 characters are just laziness such as:

https://github.com/kennethreitz/requests/blob/master/tests/t...

And a few of the actual potential cases for going over 80 characters can still be broken down without losing any readability:

https://github.com/kennethreitz/requests/blob/master/request...

r.headers['Proxy-Authorization'] = _basic_auth_str(self.username,
self.password)
I've travelled to third-world countries [1] with mine and I didn't insure it. I can't say I'd always do this, however. It depends on where you're going and what you're doing. In general, it's not wise to be flashy in a poor place but the stainless steel Sub isn't as obviously expensive as a gold watch and probably wouldn't catch a thief's eye like an iWatch, even though it is well over 10x as valuable.

[1] https://www.flickr.com/photos/defender90/4246326395/in/album...
Probably makes industrial design much simpler, A) no removeable case, B) battery does not have to be in an accessible area so internal cords/boards can go on both sides.

I personally used Galaxy phones instead of Nexus for the entire reason it had a replacable battery. I loved never having to charge my phone when it died, just popping in the battery into a charger with 2 backups. One always in my bag. So removing it was the reason I stopped using their phones and I doubt I'm the only one.

But that said I doubt they would recall the battery only. They'd definitely ask for the whole phone back until investigation is done. Look how long this took.
Old habits die hard.

Why cancel a cushy $10 Netflix subscription when 1 ad pops up every session?

A year later

Why cancel a cushy $12 Netflix subscription when 5 ads pop up every session?

5 years later

Why cancel a cushy $20 Netflix subscription when 10 ads pop up every session?

Do you see where this is going?

Ad and subscription creep is a very real thing, and consumer will not "protest" because behaving is so easy when they betray your trust an inch at a time.
Highly recommend the book Deep Work by Cal Newport. Great read addressing this.