skysight-inc/HackerNews huggingface dataset:
I'm not aware of any entirely decentralised system which would allow two computers which are behind NAT to find and then talk to each other. Or any obvious design which would work there.

then you're clearly not the person we should be asking to build this kind of thing are you? :-)

my proposal actually solves two important problems with peer-to-peer systems, and I barely have to write any new code to make it work! the solution? i2p! it's an anonymous mix network, much like Tor, but completely decentralized. using an intermediary dex mix network fixes the nat issue and prevents you from leaking your IP address to other peers.

https://geti2p.net/en/comparison/tor
you can tell them via https://github.com/contact
WebRTC solves all the issues you're mentioning, and is available in Chrome and Firefox (in some for in Edge, and soon in Safari).

Three examples of this, implemented and working:

- https://www.sharedrop.io/
- https://www.justbeamit.com/
- https://file.pizza/
You could apply to Sydney Angels [0]. We are now have +130 angels and we invest in companies from around Australia. If anyone wants advice on if you are likely to be a good fit or not I am happy to talk more about this offline.

0. http://sydneyangels.net.au
I have had significantly worse luck with Pandora even, but haven't used it in ages. Rdio, before it went bankrupt, worked the best for me.
He can use the "private session" option for that instead.
I was actually referring to this incident where Mozilla started shipping an opt-out "addon" in Firefox that automatically shares your browsing history with a third party:

https://www.reddit.com/r/firefox/comments/74n0b2/mozilla_shi...
Agreed. This exact scenario happened to me. I lost a great deal of things in the fire. The only thing I miss is the quilt my frandmother.made for me. I still get upset about it.
So, three systems which all require a central service?
I don't know. The throughput seems to be there: https://imgur.com/a/hhvZ2

For my use case, which is storing and running VMs directly off the external drive, it works better than I had ever hoped. The whole setup feels very fast.
The title is meant to be playful, since it reverses a famous trope that (as you probably know) comes from https://en.wikipedia.org/wiki/Categories_for_the_Working_Mat... and has been used many times: https://imgur.com/21umyW8. It's the blah-considered-harmful of its class.
The Buffalo Group Is Hiring NOW
Cybersecurity Pros, Database Engineers, IT Analysts (all levels), Software Engineers (all levels),
Web Developers (all levels), System Admins, System Architects (all levels), Test Engineers (all levels).

Very attractive salaries and benefits.

resumes to: andrewsm@thebuffalogroup.com
Wait, surely it's not entirely random? I thought we were talking about a process like earthquakes, where the actual event is unpredictable but the underlying causes add 'pressure' and gradually raise the odds.

Obviously that's predictability within a single supervolcano, not worldwide, but I'd love clarification if I've got that wrong.
The Europeans were developing one of the most interesting secure distributed platforms 10 years ago as part of the European Multilaterally Secure Computing Base initiative, but it appears to have gone dark. Maybe funding priorities shifted, or the technology was deemed to be something that shouldn’t be open.
That's why I'm skeptical in machines recommending music. Deezer focuses more in Editors curated playlists (lots of them) and users playlists recommendation (instead of single songs). I've switched to Spotify last year because UX is better, but I feel I discovered less music I actually enjoy.
Nobody understands when I complain about losing Rdio (which is often), it was sooooo much better and nobody knew/cared.
Maybe they do. But they don't have as much incentive to do so as Google/OnePlus.

Does Apple collect the same statistics though?
I'm reminded of an article I read a while back about the rather sizable effectiveness of checklists in the health sector, and how they're still not 'standard practice'. I think it's this article, but I'm not sure:

http://www.nytimes.com/2010/01/24/books/review/Jauhar-t.html
Great list, and thanks for giving Wagtail a shout-out! Your work on it back in its early days is still very much appreciated.
Go discover some new artists by yourself, use the related artists function, branch out.

I'm pretty sure that'll shake up the recommendations a bit.
Could someone please concisely describe if there is a use-case where Django offers utility above what Flask can provide?
Put the comments at the end of the line, introducing line breaks if necessary:

if (…) {
} else if (…) {
} else { // description
}

and

void myfunc(int a,
char *b, // optional
...)

I don’t program in C or C++, but when working with the Windows API I appreciate Microsoft’s source-code annotation language which leads to being able to indicate input and output parameters, and optional ones, so that you’d wind up with something like this:

void myfunc(__in int a, __in_opt char *b, ...)

I don’t know how they’re implemented in MSVC, but I’m guessing they’re just empty #defines.
Unless he does indeed style himself as "Zuck", can we please spell his name properly?
Pandora? Really? I've found Spotify to be orders of magnitude better than Pandora for both variety and discovery. Pandora was the first to have competent discovery functionality, and it was impressive for its time, but I'm wondering if this is "good old days" syndrome speaking.
when will they shut down Russia Today?
This reminds me a little bit of the C++ compilers (HP's?) that would build a database of instantiated STL types to avoid rebuilding std::basic_string<char> for every translation unit.
I imagine that once you get to any significant number of plays (N=1000, which would not be a significant payout on spotify at all), the collaborative filter model would take over and if none of the people who listened to it caused further positive signals as mentioned (visiting the artist page, repeat listens) then the track would stop being recommended pretty quickly.

Also, what you are describing sounds like what producers already do because people actually like it: find the latest trends in sound and copy them, (but hopefully with a fresh twist so that people get into it) :)
Disassembling a Rolex Submariner
Real Names Only!
How about sprouts? I was introduced to it in Piers Anthony's Macroscope...
Exploring Failed Startups – A look at four emblematic failures
It seems most Rust programmers are switching over from Python (but C and C++ are next, followed by Java and Javascript, look near the end): https://blog.rust-lang.org/2016/06/30/State-of-Rust-Survey-2...

There is no "right" or "wrong" C++, there's also no single "C++ community". I'd say that C++ isn't even a programming language, it's more like a meta-language to build your own language.

Whether that's good or bad is up for discussion, but (a) it gives a lot of freedom, (b) it invites tinkering, (c) it wastes a massive amount of time when trying to communicate with C++ coders from other confessions, and (c) it makes it hard to integrate C++ libraries into C++ projects.

edit: confession => 'denomination' seems to be the correct English term
Except when the compatibility horror comes from Excel violating the standard, but only if you happen to be located at the wrong hemisphere (hello semicolons). So, even if everyone just used Excel, you will still face this issue. Now what?
"Hey Sasha, niet problema I'll ask Kaspersky Lab to help us with this one"
Something to add to this: it's also incredibly common for Discover Weekly to suggest songs which I have already listened to hundreds of times, does anyone else have this experience? I don't understand why this would be unless their algorithm simply cannot find anything else. I'd rather they just be honest instead of selecting songs I already know.
Assume I'm at my computer with i2p installed. How do I find your computer?

(Serious question - I've not used it myself, and I'm intrigued at the process.)
Also Ruby: sequel-seek-pagination

https://github.com/chanks/sequel-seek-pagination

I used it just this week to write a Relay Connection paginator for graphql-ruby and Sequel/Postgres. It uses keyset pagination to reliably avoid skipping items and maintain consistent query times.

Backwards pagination was a bit tricky since that’s not natively supported by sequel-seek-pagination. Basically I had to reverse the list order and then filter with the cursor values to get the last N items in a subquery, then reverse that list again to get back the desired sort order.

https://github.com/rmosolgo/graphql-ruby/pull/1014
> Once a song is in the archive, it won't (or shouldn't) appear in either of the weekly so-called discovery playlists.

They still do, sometimes, at least for me. But more importantly, adding songs to playlists sends the positive signal to Spotify’s recommendation engine, as far as I know. So, saving all your discover weekly tracks into archive playlists will encourage Spotify to give you similar music in the future.
How we do code reviews at Code Runners
This feels more like a deficiency in the screen reader than one in line comments.
The video this article was about is 10 minutes long https://www.facebook.com/zuck/videos/10104094186863501/

Here are timestamps of the quotes from the article:

https://youtu.be/cIA1AVpKt5c?t=4m19s

https://youtu.be/cIA1AVpKt5c?t=5m34s

https://www.facebook.com/zuck/videos/10104094186863501/?comm...

https://www.facebook.com/zuck/videos/10104094186863501/?comm...
Kindle Oasis: Amazon finally launches a water resistant e-reader
> Effectively, without support for build tools, modules are effectively dead in the water.

...

> "We'll make the build systems understand".

This seems to be a critical point that I agree with: you can't divorce these two, their fates must be bound to one another. Hopefully the build systems can be easily modified to accommodate.

Rust community folks might be wrong about c++ but they're right about Rust. Rust had the luxury of not being bound to any legacy specifications and it wasn't unreasonable for them to write their own build+dependency/package management tool. The net effect of them having done that means that independent of all the other great things Rust brings, much of the tedium of developing with C/C++ is gone.

Make no mistake, C++ standard committee: the bar is high and Rust has set the bar.
8 Things I Learned at ChatbotConf 2017
(when using server-side prepared statements, which are disabled by default)
Our stance on the Segwit2x hard fork
Debounce Your React Code to Improve Performance
Yeah, it is pretty easy to shoot yourself in the foot by using buffer-bound types in Java. Another example is java.io.ByteArrayOutputStream and arbitrary data sizes. Array.copy can be dangerous.
صور+واتس+منشورات+وصور+فيس+لتنشيط+الصفحات+بوستات+رفع+تفاعل+بيجات+الفيس+بوك
CSS only has block comments, and they’re eager-closing rather than nested. This makes it approximately impossible to comment out code if you add any explanations for why things are how they are or have any other comments inline, which makes me sad.
Oh, hell no. I've held off on getting an Alexa or a Google home partially for this reason. My main reason for not getting one is because I think they are actually pretty useless and I find it kind of annoying to have to pretend to be a robot to get them to understand me.

But -- I also realize that they literally can (and clearly do) collect your audio data 24/7. In this case it was a "mistake" on the part of Google, which they quickly worked around by commenting out some code in the firmware. But all it would take is probably a few lines of code and an automatic update to turn on 24/7 audio collect for all Google Home users.

My theory with Amazon's Alexa (and probably Google Home) is that they lose money on these things, because they don't actually care about making a profit on them. The whole idea is to collect as much audio data as possible to improve their machine learning models.

It's a race to see who can collect the most data on their customers, and ultimately develop the best and most comprehensive speech recognition model on the market.
I think the rest of the article elaborates on why I asked that. If only a subset of the C++ community is "typically wrong", that subset involves quite a lot of people, including those on the standards committee, at CppCon, and on /r/cpp.
How to beautify XML
Seems to have labelled "C" and "-C" in a very misleading manner. Take point A. Draw a tangent, that cuts the curve at point C. That's not the point 2A. That's the point C.

Reflect C across the X axis, and that's point 2A.

So you're not missing anything, the article is misleading at best.

In short, to take the sum of two points A and B, draw a line through them both to find a third point on the curve, reflect that point across the X-axis, and the result (which will also be on the curve) is A+B.

If A and B coincide then use the tangent at A.

The point at (vertical) infinity plays the role of the zero.
Good luck with configuration if your CSV parser is ten layers removed from any human, and still needs to get it right. Now what? (Now we guess. We call it "heuristics," of course.)
Haha - read your comment, looked at your username, opened Spotify, and "Purification Ritual" is the first song in my Discover Weekly.
​Purism Linux smartphone makes its $1.5M crowdfunding goal
Movieo – Discover and watch movies instantly
The fact that probably millions of people would vote for him to be president is terrifying to me.
Because by donating to RiseUp, Mozilla have made themselves a political organisation, and political organisations do things for political ends, not privacy ends.
Can you add an update for your game, Diepio? Like a balance change?
That's a major part of it.

Globally, the problem is volcanic winter - ash in the upper atmosphere blocking out light and causing major cooling. The estimates I've seen suggest ~2 years of nonstop winter, followed by a gradual recovery.

But regionally, the problem is settling ash, which travels much further than larger debris. That blankets plants and kills them, as well as causing lung damage and suffocation sufficient to kill or sicken most animals in the area.

It's one of the reasons Yellowstone is particularly threatening - we can expect that the volcanic winter would start with the death of crops and livestock in one of the highest-export farming regions on the planet.
Mapper pays drivers Uber style to collect its AV map data
Trackball? Touchpad? Or, given this is HN, keyboard shortcuts?
It's funny, we created communities that are too low density, and which contain almost no commercial or industrial development to support the tax base, and then we act surprised that they can't sustain themselves.

These communities seem to me like unsustainable resorts built for the upper middle class of fifty years ago.
Equally importantly, block commenting fucks with the editor's ability to comment/uncomment code.
And I agree, those are some pretty impressive feats. Whenever your threat model includes state actors, it's probably not a bad idea to be paranoid. Let's not carry that paranoia to ridiculous extremes though.

_Could_ the NSA have the ability to utilize IME somehow as a means to infect computers? Certainly. Do they _actually_ have that capability? We have no idea. Same goes for your motherboard's firmware, your hard drive's hardware, and any number of other possible vectors. They _could_ be compromised somehow, yes, but let's not claim that any specific motherboard firmware, HDD model, or CPU processor brand definitely _is_ compromised without evidence.
Impraise (YC S14) Is Hiring Software Engineers in Amsterdam and Lisbon
Very related: https://news.ycombinator.com/item?id=8137264
Forget C++ for a moment. In your dream language, if one source file uses functionality from another, where should that fact be specified?

1) In the source file

2) In the makefile

3) In both

It seems to me that the only sane option is (1) with a project-wide or system-wide set of "roots". Why is anyone in favor of (2) or (3)?
Section 0:

`[0-9] - Matches any digit between 0 and -`

Mistype the `9` for a `-`. :-)
I'm curious -- Mozilla says it can't decrypt the file on their side:

Mozilla does not have the ability to access the content of your encrypted file [...]
https://testpilot.firefox.com/experiments/send

How is the receiver able to decrypt the file -- i.e. what is the decryption key if not the URL slug, which presumably Mozilla has as well?
Sounds like the classic ad selling something that is actually not as fast as it claims
Pandora works song-by-song (and is not bound by genres).
I don't know why everyone can't have a fireproof home, like me. /s
Might want to consider getting a new job in a more interesting and new area, that way you can learn during work hours. Or, figure out ways to automate your job even more: if it's routine, it's amenable to automation.

More here:
https://codewithoutrules.com/2016/03/15/stagnating-job/
> Civil disobedience is fine because no one should be forced to do something.

Civil disobedience is not merely “refusing to do something” (the “disobedience” it refers to is to civil authority—the law—not merely some command to positive action.)

> Blocking a road is not civil disobedience.

Yes, it can be an element of civil disobedience.

> People can protest by not showing up on stores, or maybe not paying taxes, or withdrawing their savings from their accounts.

Yes, they can. They can also protest by blocking roads.

> But blocking a road? That's annoying and endangering your fellow citizens and not the government.

The government is the people. While this is theoretically the case in any regime professing democratic ideals, it's practically the case always and everywhere: government is simply whatever people choose to obey. But, even ignoring that, if you have a vote either directly on policy (as in any jurisdiction where citizens hold the powers of initiative and referendum) or on choosing the people who make policy (as in any jurisdiction with elected executive, judicial, and/or legislative officers), you are part of the government and legitimately targeted by campaigns, including civil disobedience, seeking to change that government’s action.
> Now if you are programming a self-driving car or automating the mixture of medicines, maybe be careful where you use LIMIT and OFFSET.

There are plenty of cases where the LIMIT/OFFSET behavior is not great. More boring example: you’re displaying a paginated list of financial transactions and you don’t want duplicates to appear if the list gets updated. Or any kind of audit log. Or an event feed, or infinite scroll.
Ah interesting, thanks. Googling a bit more for ionization techniques suggests you might be right, and it might be: https://en.wikipedia.org/wiki/Matrix-assisted_laser_desorpti... (based on a reference in http://www.independent.co.uk/life-style/gadgets-and-tech/new...)
So, Russia influenced the election by having two black men run a YouTube channel?
I'm wondering what kind of feedback they got from their dry-run... I kind of wish interviews for engineering positions took soft-skills more seriously. What ends up happening is you have a room full of technically brilliant people, who might be on a spectrum, making user-facing decisions.
> The biggest reason for the birth of suburbia in the 50s was the affordability of the automobile combined with the newly minted Eisenhower expressways which made living far away from where you work cheap and feasible.

It's more complicated than that.

First, there's the history of red-lining[1], and no requirement that housing be "integrated" (which meant non-discriminatory back then), so you had people like Levitt only allow whites to buy home.

Second, the government financed most of the critical infrastructure necessary to "bootstrap" beyond just highway and roads. So if your water, sewer, electric, and school infrastructure was all built wholly or partially funded via federal or state grants or "pork", you could keep your taxes low because you have lots of shiny-new infrastructure that's cheap to maintain that you didn't need to finance yourself through municipal bonds. This allowed your tax money to be poured directly into hiring the best teachers, building parks, etc. Getting all that infrastructure for free greatly masked the inefficiencies of the suburbs and why, today at least, suburbs often carry huge property taxes burdens or offer very limited services (like not even curbs or sidewalks) and rely on a county/township to cover the essentials.

The Suburbs are basically a public housing project for the middle class. If you actually required the average American to pay for their suburb with little or no help from the federal government it never would have gotten off the ground.

[1] https://en.wikipedia.org/wiki/Redlining
> that's like taking the surviving bacteria "to the gym", clearing out the normal flora of bacteria, and replacing it with whatever nasties can survive your treatments.

That argument holds for any point on the "target clean level" curve, though... for example I could use it to argue that flossing is cleaning beyond what's optimal. Not that I think it, but what is the best strategy, long term?
For those who prefer a more in-depth introduction than a blog post: Jeffrey Friedl's "Mastering Regular Expression"[1] covers the theory as well while still being very pleasant to read (I only know the first edition, apparently there are more recent ones).

[1] http://shop.oreilly.com/product/9781565922570.do
"it takes less water to make my clothes than it would to wash them" rather implies that he does not wash them (otherwise the most logical wording would be "it takes less water to make my clothes than it does to wash them")
Rust supports block comments and line comments; the recommended style is “don’t use block comments”. I have never felt any inclination to use block comments in Rust. These examples of doc comments (using slash-star-star or triple slash instead of slash-star or double slash which are plain comments) are all equivalent, and I know which one I find to be nicest (the third, with line comments):

/**
* This is documentation.
*
* It spans multiple paragraphs.
*/
pub fn foo() {}

/**
This is documentation.

It spans multiple paragraphs.
*/
pub fn foo() {}

/// This is documentation.
///
/// It spans multiple paragraphs.
pub fn foo() {}

#[doc = "This is documentation."]
#[doc = ""]
#[doc = "It spans multiple paragraphs."]
pub fn foo() {}

(You can mix-and-match, too; I’ve combined doc attributes with cfg_attr before, to add doc comments if a certain feature is enabled, see the bonus section in https://chrismorgan.info/blog/rust-cfg_attr.html.)
If they would shutdown all news channels that sometime distribute "propaganda", there would not be many left...
GitHub Pages and Single-Page Apps
The submitted bug, for context - https://bugs.mysql.com/bug.php?id=88021
In this vein (and the current pricing kerfuffle notwithstanding), Caddy is great.

Just cd into the directory and "caddy", no config needed.
Regex patterns might not be first class citizens in python, but they're easy enough to use, and I think they're ultimately more powerful than in Perl. I don't remember being able to use a callback to calculate my replace string as a function of the match results when doing substitution in Perl. It's super easy to do tokenization with python regexes. We lose first class patterns, but gain first class functions and classes :)
I've searched for these things. I probably will again.

What the hell has gone wrong with people? When did curiosity become something Politically Suspect that goodthinkers avoid having?
Deutsche Post DHL Group Selects Nvidia  for Autonomous Delivery Truck Fleet
>It's very easy for the state to effectively shut any non-complying company

https://en.wikipedia.org/wiki/Lavabit
> I don't see how this problem conceptually is much worse...

I'm asking the same question to myself. There's a bit in the article about it being slower than the status quo, but I'd like to see actual benchmarks before making pronouncements. If that hypothesis is true, then surely the TS will fail before it makes it into C++20 proper.