skysight-inc/HackerNews huggingface dataset:
C++ is pretty close to treating unqualified string literals the same as native pointers. That is, there for backwards compatibility and for rare edge cases, but generally discouraged. I predict that, given a few years, we'll start adding checks to linters and static analyzers to warn about using them because of the ambiguity and implicit conversion issues.

There is already a std::string liberal. Better:

MyVariant mySetting = "Hello!"s;

But std::string_view more closely models a string literal. std::string is more of a string buffer. So even better:

MyVariant mySetting = "Hello!"sv;
I think you misunderstood. Much of the US is within the blast radius of the volcano. Food production doesn’t matter if you’re under 100ft of magma.

People with in the blast radius will be escaping to somewhere.
Has anyone heard of a study of how fracking and horizontal oil drilling in the states surrounding Colorado are affecting the caldera? I would imagine all of the seismic activity they cause would have an impact.
OnePlus2 collects unanonymized data
> I cannot imagine

I know, it's hard - people could not imagine a car looking different from a horseless carriage back in the day...

(Speaking of the "dream", it is something along the lines of modern environments for Smalltalk. When you model a system, you do not necessarily want to be repeatedly going through the rigid edit/compile/debug cycle; the environment could in theory give you more "immediate" experience modeling the system you are trying to develop.)
Cool.

My "always on" Django apps:

* django-compressor
* django-debug-toolbar
* django-waffle
* django-jenkins
* django-statsd-mozilla
* django-markwhat
* django-storages (to put static assets on S3/Cloudfront)
* django-smoketest

Frequent additions as needed:

* django-bootstrap3
* django-rest-framework
* django-filter
* celery
* wagtail

I used to use django-extensions everywhere, but it pulls in ipython and all of ipython's dependencies, which gets pretty heavy.
The point of the spectrum is that everyone has some place on it, including you. To make a general statement about people that are on a slightly different part of the spectrum is a form of discrimination.
Local-wise you can use Nitroshare. I use it all the time to quickly send files between my computers.

https://nitroshare.net/
Living in the past I see. I used to hate Apple. They made crap products. First gen iPod was a junk item. Now I own an iPhone because it’s a good product. I stopped living in the past. Because hate it baggage, Life is too short to be pissed Off all the time. It just isn’t worth it.
Indiehackers is a great community. If you are on the forums, there is some really great help being given.

We had a meetup in NYC this past summer with Channing and a few of the others that were local like Zack from CodeforCash and Cory from OppsDaily
Still metal, still about key-sized, still the same concept
Sure, I’m aware of these methods; these are obvious. But my preference is to put else-comment that way, because its beauty makes me peaceful and calm when I look at it. At work I’ll do what PM expects, i.e. her/his [motivated] preferences, not mine (if you ask people what they’d like to do, work will be hardly a popular option at all, so no problem, it is consensus between being “busy” and having profit).
The US Postal Service Is Working on Self-Driving Mail Trucks
And those things deserve compensation. Full time pay? I mean everything is negotiable but that one is a hard sell.
I bailed after 3 months but the bimodal response distribution here is making me wonder whether they did have something like a broken A/B test, monitoring metrics which suppresses “outliers”, etc. which is keeping the team from seeing the subset of users who aren’t getting good results.
Or more accurately, only allowing certain sites to be linked on Facebook. If a poster on voat is to be believed, Facebook already disables accounts that link to certain topics.
> On the contrary, of course it is...

Calling something what it is...is just called communicating.

And there is plenty of evidence. Consider first, if you will, the fact that sociopathy is a spectrum disorder.

> Maybe this is not the site you're looking for.

Oh, well I guess I could say the exact same thing to you. That's a bit snarky don't you think? I mean, here I am and obviously I want to be here but you're telling me that maybe I don't want to be...hmmm. Nice moderation.

> consistency of moderation is quite impossible; for one thing it would require reading all the material.

Responding the same way to each incident does not require reading all the material. Having non-ambiguous rules does not require reading all the material. Having more moderators does not require reading all the material.
Limited liability companies will always have an unhealthy appetite for potentially fatal risks. It is up to the government to regulate this.
How to Make the Most Out of Pull Requests
"Javascript Cryptography Considered Harmful" has been posted on here and lays things out nicely, as e1ven mentions.

Here's the original discussion: https://news.ycombinator.com/item?id=2935220
Keepsafe VPN
Ask HN: What would you change in Linux if building from the ground up?
POSIX, GNU and Linux are great systems that set up our computer to run the programs we love. But they are all based on legacy systems that go back to the original mainframes and first computers.

We have never done a complete reset from the ground up. But history is littered with incomplete attempts. This is because driver support and other niceties of modern systems would take enormous time to reinvent.

But if you could start over and you were in charge, how would things work differently?
You could do TLS for the app, no need for the app to do encryption itself, is what I meant. That way it's easy to inspect/restrict the data the app is capable of sending out.
Deputy AG Rosenstein’s “Responsible Encryption” Demand Is Bad
There's a significant difference in that your phone has a limited battery, in which actual audio recording and data transmission would deplete quickly. Even if you were to use the hotword detection, you can be reasonably confident it works as claimed (only listening for the hotword passively), because it's nearly impractical for it to do anything else all the time.

As phones get better and more capable, I do get more worried about this though.
I wonder how many downloads can be done before it expires
Resilio Sync (formerly Bittorrent Sync) pretty much offers that. They use relays in case both peers cannot pierce NAT, but the relays only see ciphertext. They also have apps for Android and iOS, making transfers to mobile devices also possible. Since it is closed-source software, it's up to you to decide whether you trust the software.

SyncThing is a free software alternative, but I wouldn't say that it is usable (yet) for the average user.
We have a Question and Answer site for Software Testers.

https://softwaretestingboard.com/qna/

And it's doing quite good and active.

Exactly as opposed to what author is trying to do.
The worse case is that hateful and destructive propaganda wins out and we end up with mob rule. Just because we're somewhat, so far, kind of resisting the propaganda amongst enough people to prevent major harm, doesn't mean that will continue indefinitely.

I'm not saying free speech isn't the answer. I don't have the answer. But the risks are greater than you say.
In fact it is 90% http://earth911.com/eco-tech/recycle-solar-panels/ and there are nee processes that reach 96%.
Have you seen Alexander Korotkov post "Faceted Search in the Single PostgreSQL Query"
http://akorotkov.github.io/blog/2016/06/17/faceted-search/
> This is not a good conversation to be having.

In your (sleepy and uninterested) opinion. I love it. We're all learning so much! There are more comments on this sub-thread than the rest of the thread.

> I basically do it in my sleep, with about as much interest...

That's exactly what it feels like.

Congrats.
Is this really an argument? I could just say there's no proof that google intended for the device to act as NSA proxy, and you could say there's no proof that ....
"I don't have these problems, therefore they are not real problems"

The author makes almost exactly your point regarding the (non)importance of these issues in practice.

What would the author have to write in order to be able to discuss the consequences of this language design choice, and be spared the barb of your wit.
Comparing BeagleBoard’s Most Popular Dev Boards – Arrow.com
"I'm in two minds about Google home, alexa etc. On one hand, the novelty / utility of these devices makes me half inclined to get one but the fundamental idea of having a device in my house, connected to the internet that is sat there listening to me 24/7 leaves me feeling slightly uneasy at best."

I am totally opposed to these devices in my home and am, frankly, aghast at the notion that they would see wide deployment or that "voice is the future ... blah blah".

However, I do have the ability to consider other viewpoints and when I do, I am completely underwhelmed by the proposed use-cases of these devices. According to Amazon themselves, the things I could do with Alexa include:

"What's on sale today ?"

"Find me a Chinese restaurant"

"What's the weather"

These are use-cases that suggest a user who either has no particular preferences or is satisfied with extremely simple, non-nuanced information (or both). These use-cases are the literal manifestation of dumbing yourself down far enough for the computer to pass your (very easy) turing test.

Other use-cases like "play my party playlist" are a wash in terms of simplicity or speed vs. just (pressing whatever play button you have in the system you use).

Are there any examples that I would find interesting or nuanced or definitive improvements over existing tools ?
What would have happened outside of California?

These kinds of things always make me wonder ('Member that whole Apple-Deleting-iTunes-Library-Thing).

I'd love that kind of support.
I didn't benchmark the difference between cache usage with precalculating the hash code in a constructor vs calculation in the hash code itself but string concatenation then taking the hash code of that was the real performance killer.
You must be great at parties. Software is irrelevant imo. Indicating same protocol as FF send is imho more relevant.
Make Any TV Voice Controlled Through Amazon Alexa and Raspberry Pi
What a Non-Technical Founder Needs to Know About UI and UX Design
The HAP bit will probably at the least remain since it's part of the NIST assured computer program.
One download
This is technically a dupe of https://news.ycombinator.com/item?id=14901998 from a couple months ago.
This article could be more clear in showing who it is addressed to.

"How to Make the Most Out of Pull Requests -- a guide for project maintainers" or "How to Make the Most Out of Pull Requests -- so that your contributions get accepeted"
I assume if you voluntarily give Kaspersky root access to your laptop, they don't care whether it's Windows, Mac, or Linux.
using my paper white in the tub has been a challenge. This looks great, but not at a price point I would take it at.
If a user installs malware from the Play Store, that's his fault, and it's Google's fault for allowing that malware on the store. If he sideloads malware, that's his fault entirely.

Preventing me from controlling my phone is evil. Preventing me from seeing what the apps on my phone are doing is evil. If I wanted a padded room or a walled garden, I'd be using iOS.
Good point, but the 'net good' Jobs argument always feels a little hollow to me as he didn't live long enough to fight he later-life battles, namely destroying Android which he called a stolen work.

One of Cook's first significant acts was cutting back on the patent warfare between Apple and Google/Samsung. Jobs dying young saved us from this war, a war that would have damaged the smartphone and wearable market significantly.

The problems with Jobs is that he fought for his customers, which was nice if you're a customer, but if you're not, you're now a victim of Jobs. Why should Android buyers be assaulted by him? What did they do wrong other than buy into a more open-ish ecosystem? The patent system and courts are wholly corrupt and/or incompetent, so its not like there's a moral avenue for jobs to attack Android. Just everyday business sociopathy.

Worse, a lot of Jobsian logic has been tossed out the window recently. The whole "the human thumb is so long so smartphones must be 3.5" maximum" and a variety of other cargo-cult wisdom. The iphone and mac lines of today most likely would not have been possible with Jobs at the helm. iOS is more Android-like than ever and recent decisions with MacOS seem un-Jobsian to me.

I think Jobs died at the perfect time. Enough to bring in the mobile revolution but not long enough to run it into the ground over a scorched earth war with competitors. That doesn't exactly make him a great example of sociopathy for 'good' as much as it makes him a good example of dying relatively young.

The above also ignores unexcusable sins like fighting "poaching" from his competitors with a gentlemen's deal (enforced by the threat of patent lawsuits - again) which only kept engineer salaries lower than they should be.
You may be confused. .NET Standard 2.0 support for UWP means the upgrade path is (finally) here today. Start a UWP project in VS 2017.4, make sure the project targets the Fall Creator's Update (the Windows 10 feature update to be released at the end of this month), and from that UWP app you can now add a reference to almost anything on NuGet you want. .NET Standard 2.0 support means that if it ran on the .NET Framework 4.x, it likely runs on UWP now (with rarer but obvious exceptions like using old WPF or WinForms libraries, some of which will still "work" as no-ops not actually doing anything).

Again, I'm not sure how much clearer of an upgrade path you could want? If you have a WPF app today, everything but the XAML will work in Fall Creators Update UWP. The XAML may even be trivial to convert to UWP XAML, they are related like family.
Do you vouch for any recruiter? Leave a comment with your favorite recruiter's name, contact info, the company/position they got you hired for, and preferably the % they took from your salary.

It's an open source list, feel free to repost to Facebook, LinkedIn, Reddit, etc. Getting some traction on Austin Digital Jobs.
Test Pilot experiments are by the Firefox team. They're usually more embedded in the browser, is all.
FCC’s claim that one ISP counts as “competition” faces scrutiny in court
The reason I said that is that you recently broke the site guidelines and rejected the correction.

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

If you continue to post in a way that makes it clear you don't want to use this site as intended, you're going to end up getting banned. Please reread https://news.ycombinator.com/newsguidelines.html and fix this from now on. It's not like it's hard for anyone who wants to.
Andela Startup Bets on Tech Talent from Africa
Yeah, the "being online" detail seems like the problem. It would be best if the encrypted data were distributed (something like IPFS) but then why would peers host files that aren't for them.
What is DevOps? An executive guide to agile development and IT operations
I got my "law degree" from watching TV, so take this with a grain of salt, but when you apologize you are admitting fault, which could be legally binding if a lawsuit is brought upon you.

So if he were to apologize, Red Cross could then potentially sue over a down tick in donations due to the join campaign, etc.

Again, not a lawyer, have no real interest in law, but this has played out on TV shows a few times.
As I was reading "The end of the Dreamhost[...]". I started to feel very happy until I realized this is not their end but something else :(
Maybe don't listen to the discovery weekly playlist for the week and just listen to other playlists you like. If you listen to the genre because it's in your weekly playlist, than spotify is probably going to think you like those songs.

Search for some open playlist you like and don't listen to the discovery weekly. In my experience spotify is fairly good a taking the hint.

One alternative would be the daily selection which seems to be more sorted for genres.
Ask HN: Accepted job offer but no contract yet
I applied to various companies and accepted an offer from one of them. It's been one week and no contract in sight. Recruiter keeps saying "tomorrow". This company is located in Germany.

I excused myself from most of other hiring processes but kept a full backup options that I could postpone (e.g. schedule next interviews a week later, etc) but these other processes are getting to a point where they might make me offers too.

I don't change jobs often so, when everybody is saying the start date is "immediately" but a contract cant be written, I'm getting a little bit suspicious this is a tactic to hold me out of the job market.

Anyone ever faced this?
Should/can employees ignore the social views of their coworkers and bosses?
What's MITI stand for here?
Air Wells, Fog Fences and Dew Ponds
I added generics to ensure type safety, it is not technically diamond brackets (they came in jdk7 but mysql connector targets jdk6).
> one has to trust Mozilla not to do that.

Exactly. One has to trust Mozilla every time one visits the page. They could easily configure it to be malicious one time out of a million (say); what are the odds that they would be caught?

Web-page-based crypto is fundamentally insecure, and Mozilla is committing an extremely grave error in encouraging users to trust it (as they also do with their Firefox Accounts). Security is important, and snake-oil solutions are worse than worthless.
Yup. This was just one channel among many, following the Russian "Firehose of Falsehood" approach to propaganda. It used the same DDoS-like approach during it's incursion into Georgia and annexation of Crimea.

https://www.rand.org/pubs/perspectives/PE198.html

> The Russian propaganda model is high-volume and multichannel, and it disseminates messages without regard for the truth. It is also rapid, continuous, and repetitive, and it lacks commitment to consistency. Although these techniques would seem to run counter to the received wisdom for successful information campaigns, research in psychology supports many of the most successful aspects of the model. Furthermore, the very factors that make the firehose of falsehood effective also make it difficult to counter.
New England really isn't interesting to discuss for the most part when discussing US suburbs. New England is as close to "europe" style development as we get.

The flyover states are really where this conversation needs to be focused on, as these are the communities that will first be hit hard.

Small towns that eventually got absorbed into a giant metroplex are not the usual in the country. I think most folks see them as entirely different when it comes to sustainability models/etc.
Many companies play up the pretense that they are 'global' corporations. There are only nations. Google is a US corporation.

A global corporation would not pay this much attention to the influence of a single nation or it would pay more attention to all of them.
The what and how of code health
Hey johnou, thanks I saw this, my comment originally had been a response to https://news.ycombinator.com/item?id=15449672, which I interpreted as referring to a different bug, and was then moved and edited by an admin ... anyways thanks for your contribution and my colleagues will review and probably (as said: I don't know enough Java and thus can't judge it) apply it :)
As expected, this is empty for me. Glad for the link though.
If you can replicate vulcanology analysis at home, it's time to move. That's one career that shouldn't ever mind a long commute.~
... and this is why I generally prefix all bucket names with a UUID. Mildly user hostile, but bucket names go in config files, so who cares?
Born on an Army base to an American father. John McCain was born under similar circumstances, Ted Cruz and George Romney were both born abroad and neither was seriously considered disqualified. The only difference between McCain and McAfee afaict is both McCain's parents were US citizens at the time of his birth. That may be relevant, that part of the law can change, but simply being born oversees doesn't stop a person from being a "natural-born citizen".
I really wish I could get Spotify to "forget" or "reset" my preferences. When I first started using Spotify, I listened to a lot of slow calming music (because I was working). Now ALL my Discover weekly's are just 'Iron and Wine', 'The National' derivatives. Its made Discover Weekly useless to me.
Not everyone is on the same version of Chrome either. It works out just fine. If you want a feature that the user's version of Chrome doesn't have, you detect that and inform the user.
> How would you implement a deep pagination like "go to page 107"

You wouldn't. Keyset pagination forces the user to do the exact same thing people complain about you doing to the database. Want page 10 of results? Too bad, enjoy running through pages 1-9 and throwing them away. Except now everything is even slower because it's users talking to the service, not the service talking to the db.

There are plenty of use cases where that's a perfectly acceptable trade-off, or an annoying-but-necessary trade-off, but the people all up in a froth over the inefficiency of limit/offset seem to regularly fail to realize that they're advocating for a database performance solution with implications that reach all the way out to the UI/UX level.

At a minimum, I see very little in the way of acknowledgement of this factor.
This is the 'comment of our times'.

I know it's hard to turn off FB because there are some elements of real utility, but you can do it.

You're not going to miss out on as much as you think.

And as for the article: the press is just as easily blamed - they take 'some random tweet' made by 'some random person' and hold it up as testament to 'what people are saying' and fan the flames. It's click-bait, and their revenue life-blood in a dwindling market for paid journalism, so that ugly factor drives them to betray their otherwise reasonably professional motivations as well.

'Change the channel' :)
For many users, a single download is the most common case.
This is a pretty good documentary about the Ainu:

https://www.youtube.com/watch?v=0Q6cYEQUpBg
it ended up being a hardware defect in my Home Mini

According to Google.

as well as an unspecified small number of others.

Nothing to worry about, I'm sure. Probably no way to exploit those issues. Probably.

Google never intended for it to happen

Obviously, it's a rookie mistake that anyone could make. And that's why I'm willing to forgive and forget when it comes to multibillion dollar global businesses that make billions more off of the private information they gather and store. Just like I did after Equifax goofed earlier this year. And Yahoo the year before that. And …

Look, I get it that the Google PR people have been super nice and accommodating and embarrassed about the whole thing. Maybe the writer is friends with people on the team, or there might be a job at Google down the road. And, of course, some writers don't want to lose access to free trials and potential interviews.

But I really would like to see specialized news outlets show more backbone when it comes to screw-ups, and not downplay or gloss over serious privacy issues such as this, or take Google's word about what happened. It's a fair question to ask whether the problem(s) may still be present in every other Google device … and if they are potentially exploitable.
NSA Declassifies Internet Surveillance Files from 2011 Case