skysight-inc/HackerNews huggingface dataset:
Also, rest (the R part of the "RICE" acronym previously advocated by Dr Mirkin) delays recovery:

http://www.healthline.com/health-news/rice-method-for-sports...
There is a dilemma that others pointed out: you need to know the industry pretty well to be aware of the pain points. On the other hand you tend to settle for things you get accustomed to, taking for granted that "things are the way they are". One way out of it is every time you find yourself slightly frustrated at something, but just continue schlepping, ask yourself: do things _really_ have to be that way? Is there anything that can be improved, any single aspect?

Just to give you an idea from the area you know well: programming. It is not a secret that a lot of programming these days boils down to searching stackoverflow and copy pasting the code fragments. You switch from an editor to SO, do a search browse from comments, pick one, copy paste the answer, format it.

As a developer you usually have a large monitor or dual monitors. What if you had an editor plugin that on a shortcut would open SO in the browser, searching on the question that you already typed in. Few other shortcuts give you the movement across answers, another shortcut copies nicely formatted code from the currently selected comment. Bonus points for automatic renaming of variables according to the type information if you have it.

It shaves only seconds to minutes from the workflow, but imagine how many people are doing it how many times a day, and this might be an example of the problem totally worth solving.
I've been using jet extensively for a few months, whenever it's cheaper than amazon. A lot of the time it's cheaper than the in-store price at walmart.

They definitely have their own inventory. Things like cereal and diapers ship in completely purple jet.com boxes (http://i.imgur.com/WUisXzH.jpg). It's only more obscure stuff that ships from other retailers.

I think the idea is that they want to have a long tail of inventory and are willing to take a loss on those items for now, but for high-volume items they are already doing them in-house.
In the situation where knowledge of guilt has been found by unjust means, how does ignoring that knowledge promote justice.

> Some would view such violations as, themselves, inherently and fundamentally unjust

Exactly. Which is why the government should be held accountable to the victims of that abuse, not accountable to itself.
Writing Bad Ass Lamware for OS X
There's always Cordova/PhoneGap and possibly Ionic Framework. It's much easier to build apps that look good on all different device sizes with hybrid tech. You'll want to use Visual Studio 2015 for that too since Microsoft now has an Android Emulator which is faster than any other.

Looking to the future, there's React Native.
I have issues where deleting a photo only temporarily deletes it. It magically shows up again and I can't figure out the underlying logic for that.
I don't know. May be a month?
What makes Sumatra safer than other FOSS PDF viewers like evince, okular, epdf, etc.?
If victimless crimes weren't so dominant in current US law, I would agree with that.
This is all a bid to control information.

We should airdrop millions of copies of a Chinese translation of "Fahrenheit 451" all over China...

http://ebookbees.com/fahrenheit-451-free-ebook/
That's if it works at all! I've found that pdf.js fails to print entirely when the document is sufficiently large. For example, when printing a scanned white paper from 20+ years ago.
They've forgotten how to say "No."
Also check out http://designers.watch - very nice, curated collection of design-related documentaries.
Ignoring the fact that false positives don't preclude real positives...it works. People are fond of cute doggies, and often their resentment evaporates.
Show HN: Learn Java Database Connection and Transaction Handling
How about an "ask a question" feature.... presumably newsletters will be sent on a topic which the sender is interested in / an expert in and at least partially with the aim of drumming up business.... so e.g. if I send a link about what to do or not do when applying for a job (subtle link - previously posted, I admit - : https://www.linkedin.com/pulse/shoe-in-booted-out-3-tips-you...) then the customer could link straight to a question slot like: "Hey Jer, I'm applying for a job and your article was really interesting, what about XYZ?" - direct user engagement and possible client!
If I had a coin that showed heads 93% of the time, I'd think it might be rigged.
alternatively: his successor is lacking in passion, focus, and integrity.
A Day in the life of a personal assistant
I don't think that the search+copy+paste is where all the time is; the time is spent on looking at the seven questions that almost ask how to solve the exact same problem you're facing, then reading the twelve answers (none of them marked as the correct one) that almost look like they might be what you're looking for, and then trying to figure out which one is the easiest one to start from and then cobble together with the others to actually fix the issue.
Hi!
I have a test sketch, it runs for 10 seconds and a transmitter send a string made by ID + LENGTH + 10byte string + CRC + ACKNOWLEDGE. The transmitter counts every correct and mistaken reception by the receiver:

What I mean with practical bandwidth is the byte sum of all the correct packets received that are useful (so the ID, LENGTH and ACKNOWLEDGE are not counted) / 10 (seconds of test) and so you get how many correct and useful bytes/s you can send in the fastest setup (for or while).
The absolute banwidth is the total byte count wihtout no exception.

You are right the difference is not enormous.
fast_mode is quite near to the limits of delayMicroseconds(), micros(), function execution time. I left a standard_mode with a really solid behaviour to let people use PJON also with boards without an external oscillator (like using internal PPL clock to 16mhz on ATtiny) or equipped with ceramic resonator that is less precise in timing.
6 Can't Miss Photo Tutorials
I think an interesting direction is figuring out how to leverage web tech (or just code in general) to interact with the real world. Consider companies like Uber and AirBNB. They've identified a real-world problem and set out to solve it using technology. A lot of the "cutting edge" stuff these days is figuring out how to take a real-world problem (genetics, taxis, mail), and writing some code to make it accessible, cheap, and easy to do.

The problem with "cutting edge" is that it's often ahead of its time. It takes a LOT of time and effort to make even a tiny dent in the space of "cutting edge." If that's something you want to do, you might want to go back to academia and stay there. The "real world" is a bit more pragmatic -- there's a reason the space shuttles tended to have tech from 20 years ago and not brand-new tech from last month.

IMO to find interesting projects, a better idea is to look backward: what industries are still in the 20th century, and how can you help bring them into the 21st with modern technological advancements?

What about farmers, truck drivers, construction workers? Why are they still driving tractors, trucks and bulldozers? Why aren't robots doing those things more widely?

What about real estate agents and their legalese? Why are real estate agents still handing me stacks of paperwork? Can't you Zenefits the crap out of that process?

What about community outreach programs and community centers? Why are community outreach programs still accosting me on the street and handing out fliers? Can't they do outreach digitally? Can't we automate scheduling basketball games and pick-up kickball games?

What about having to fill out paper applications or stand in line at the DMV? (Shouldn't all that crap be automated by now?)

What about having to actually hand your credit card to the cashier at the drive-thru at McDonald's? (Can't they just magically detect who I am somehow and charge me accordingly? Why do I have to hand some punk ass kid my card or cash?)

What about planning weddings or raising kids? (Haven't enough people gotten married that planning a wedding should be as simple as browsing Amazon for a few hours? Haven't enough people had kids that we should have some solid data about what works and doesn't work?) (These two things aren't really tech-related, but man, if you could figure those out...)

The best part about this approach is that pretty much any idea you come up with will be "cutting edge" as far as these areas are concerned. These are the things we're still doing the same way we did 50 years ago, before computers were even a thing.
Going by the last paragraph in the article, the library currently supports "OpenCL 2.0" only, but "OpenCL 1.2" support is planned.
Great tool! Bookmarked.

Bug report: text here [1] is not rendering properly, but if I resize the window to be smaller it adjusts and is fine. Happens in Firefox 39.0.3 (no plugins) and Chrome 44.0.2403.130 (64-bit, no plugins) at 1000px window width on OSX Yosemite.

[1] http://i.imgur.com/rgQqli8.png
I used to publish a street magazine and our mailing list was one of our primary tools to interact with our subscribers and fans. Hence, I have (sort of) had the problems you are trying to solve.

I know you're looking for out of the box thinking, but too many marketers obsess over thinking outside of the box and they forget the basics. In this case, you need to pay way more attention to the 'simple' things.

Idea 1 - > FYW (Fix your website). On mobile, your website is a mash of horrible alignment and weird word wrapping. I use Safari on a fully updated iPhone 5c - if I'm having problems, so are others. Based on your website, you couldn't pay me enough to become your customer - I can't trust your ability to format my message if you can't even format your own website. Online marketing is really at least half QA.

Idea 2 - Within a second of loading your page, I got overwhelmed by how quickly {Name I have never heard of} will Email you Five tips about {something I can't see because it changes too quickly. Fix that.

Idea 3 - Work on your copy. Between your Ask HN text and your website I have no idea what your service really does or how it will help me. And, unfortunately, the quality of the writing on the first page keeps me from subscribing to any newsletters. If you're going to highlight content, it needs to be good. I don't need more poorly written articles on growth hacking and I will never engage with that type of content.

Idea 4 - Are you really solving a problem? If so, whose problem are you solving? Go talk to those people. Personally, from what I have gathered from your site, I think this was a problem that I had eight years ago.
Talk with "domain experts".

Your job is to identify and abstract domain problems into models that can be solved using your technical expertise.
This is pretty awesome, thanks! Can't wait for a GitHub integration and a badge to paste on the app readme. Seems like an excellent build check.
So, for the first part, it follows pretty directly from basic logic:

Assume women are looking for mates (reasonable). Assume women will more favorably choose a mate the farther they are above some arbitrary standard (reasonable, though at the extreme end we see falloff--"I don't deserve him, he'd never date me, etc."--sames as we do in the other direction). Assume that these standards are the result of exposure to local norms (an example: as a friend returned from Kazakhstan explained to me, "A good Kazakh man is one who doesn't beat his wife after bedding down with a whore"). Assume that mass broadcast and the internet have redefined what local is (reasonable).

It follows then that standards are being influenced by members outside of the physical local community of women (for an example of similar issues, consider the body image research done with Barbies and other deconstructions of beauty).

That being the case, it seems perfectly reasonable that these same standards can be raised above local market rates.

Ah, the 'nice guy' argument.

Well, no, not really--the observation is that, at a time where there was a large supply of men looking for traditional arrangements, they held out, and now with the advent of technology, that supply has decreased because of the substitute good of hookups enabled by Tinder et al.

There's no point in being mad, for example, that carriages are hard to come by if you didn't buy until cars were widespread.

I'm a bit bitter because it all seems like such a waste: some of us were disappointed before, some of them are being disappointed now, and the sum total of unhappiness in the system (taken through time) has increased unnecessarily. It's just unfortunate, and could've been avoided.

It disturbs me that you refer to women as 'they' as if they all collectively decided to ignore you.

Don't read too much into it...it's just a useful and short pronoun in English to refer to women, saving a few characters.
It was more a nostalgic sentiment I expressed, your point is valid though on a much smaller scale than a full PDF reader.
Agreed on most accounts. I am obese myself (closer to 'Fat Tony' than to 'Comic Book Guy'), so I know first hand that telling people to "get thin" is less than useless.

What I get pissed off at, is the insistence on some people around here that if you cannot quote scientific articles from memory, then you must be lying and your opinion should be disregarded.

There's lots we don't know about human biology. It does not mean we should go find somewhere to roll and die of whatever ill is affecting us. Somehow we need to make decisions and take actions under incomplete and inaccurate information.

Maybe my grandchildren will benefit from the enhanced understanding you talk about, and I will be grateful for it. But this does not change the fact that I need to address my own problem today.
time to start running everything in it's own container, i don't like the idea of docker for production, but i like the idea of docker for my desktop, i want to now run every single command in a container, i can run firefox in a linux container, eg. https://bbs.archlinux.org/viewtopic.php?id=196327
China suspected in hack on American Airlines
Ask HN: What's the best way to go from R to Python for data science?
I know some basic python, but I've learned and become more familiar with R recently. Now to work on data sets larger than what R can handle, I want to move to Python.

Is there a cheat sheet or something somewhere that maps functions and packages in R to libraries in Python? I'm aware of Anaconda and the multiple Python libraries, but not exactly how the functions relate to their counterparts in R.
I cross-posted this in another thread, but it's relevant here. Modified slightly:

I think an interesting direction is figuring out how to leverage web tech (or just code in general) to interact with the real world. Consider companies like Uber and AirBNB. They've identified a real-world problem and set out to solve it using technology. A lot of the cutting edge stuff these days is figuring out how to take a real-world problem (genetics, taxis, mail), and writing some code to make it accessible, cheap, and easy to do.

IMO to find interesting projects, a better idea is to look backward: what industries are still in the 20th century, and how can you help bring them into the 21st with modern technological advancements?

What about farmers, truck drivers, construction workers? Why are they still driving tractors, trucks and bulldozers? Why aren't robots doing those things more widely?

What about real estate agents and their legalese? Why are real estate agents still handing me stacks of paperwork? Can't you Zenefits the crap out of that process?

What about community outreach programs and community centers? Why are community outreach programs still accosting me on the street and handing out fliers? Can't they do outreach digitally? Can't we automate scheduling basketball games and pick-up kickball games?

What about having to fill out paper applications or stand in line at the DMV? (Shouldn't all that crap be automated by now?)

What about having to actually hand your credit card to the cashier at the drive-thru at McDonald's? (Can't they just magically detect who I am somehow and charge me accordingly? Why do I have to hand some punk ass kid my card or cash?)

What about planning weddings or raising kids? (Haven't enough people gotten married that planning a wedding should be as simple as browsing Amazon for a few hours? Haven't enough people had kids that we should have some solid data about what works and doesn't work?) (These two things aren't really tech-related, but man, if you could figure those out...)

The best part about this approach is that pretty much any idea you come up with will be an improvement over the status quo. These are the things we're still doing the same way we did 50 years ago, before computers were even a thing. Can't we do better?
Have you seen subuser.org?
Partys. Just state you are a developer looking to solve problems. Not kidding.
That's a valid concern, but I think ES6/ES2015 will help ease the pain of using Javascript.
One append-only data structure to rule all them databases.
https://en.wikipedia.org/wiki/Lists_of_unsolved_problems

These are mostly sorted by academic fields, but it's a good place to start.
Subuser solves the X11 problem with the secure X11 bridge: http://subuser.org/news/0.3.html
>> Gnome 3

Hey, we think hot corners are cool because they're easy to hit with a mouse - never mind that we're moving to more of a touch friendly interface.

And speaking of touch interfaces, isn't it cool using swipe-to-unlock with a mouse? Users like that!

Oh, we abandoned the old HIG. I mean who needs UI guidelines? Why would users want an icon labeled "email" and not the name of the program?

=====
They have some things really right and some just so wrong. And from what I've read they don't listen as if they have a coherent plan, but it's not really making sense to me what that plan is.
This isn't being fair. I don't really think the post title is fair either. That 93% isn't comparable to the 50% you're probably thinking for the coin flip, or even the 0/100% mentioned in your edit.

---

93% alert rate means:

93% = false positive + true positive

7% = true negative + false negative

---

We're given "His success rate was much lower, at 59 percent." Assuming that means that 59% are true positives, we know the false positive rate is 34%.

Without data on how many passengers are carrying drugs, we can't say anything about the rest of that result. A plausible world where the drug dog may be valuable is when he unquestionably rules out that 7% of the population that he doesn't alert on, as in false negative = 0.

I believe the reason this number is so high (59%) is that the officer has already used his suspicion to determine filter out most people. This makes the value of the "ruling out" plausibility even more valuable: the drug dog reduces searches compared to trusting the cop.

Ideally, they'd provide the receiver operating characteristics curve [0] or the confusion matrix [1].

[0] https://en.wikipedia.org/wiki/Receiver_operating_characteris...
[1] https://en.wikipedia.org/wiki/Confusion_matrix
Like others I was struggling to find usefulness of this and what problems it solves. I admit, it seems like a stretch. There was a situation in which I needed a template class to be implemented such that I wanted only certain types to be accepted one way and others a different way.

I implemented a stream buffer that can accept different types into the stream. Based on the type, the buffer would serialize and expand to accept the data.

To put this more succintly, an insert of unit8_t type would put a single byte into the stream buffer and an insert of uint16_t would put two bytes into the stream buffer. And I needed a way to make sure the types were plain old data types (int, char, uint8_t, uint16_t, uint_32_t, etc...)

Here is sample code:

template<typename T>
class TStream
{
private:

typedef TBuffer<T> stream_buffer;
stream_buffer mStream;

public:

TStream();
TStream(const TStream &rhs);
TStream::~TStream();

unsigned int Size() const;
unsigned int ByteStreamLength() const;
void Clear();

// some methods omitted for brevity

const T&operator[](unsigned int idx);
const T*operator[](unsigned int idx) const;

TStream<T> &operator=(const TStream &rhs);
TStream<T> &operator=(T const);
TStream<T> &operator=(unsigned char);
TStream<T> &operator=(bool);
TStream<T> &operator=(double);

// rest omitted for brevity

};

Doing this

TStream<unsigned char> ByteStream

causes ambiguity with

operator=(unsigned char).

I basically want operator=(unsigned char) to be omitted if T = unsigned char.

The way I solved this, without Concepts of course, was to use CRTP like so:

template<typename D, typename T, typename U>

struct implement_operator_plus_equals
{
implement_operator_plus_equals()
{
static_assert(std::is_base_of<implement_operator_plus_equals, D>::value, "CRTP failure" );
}
D* self() { return static_cast<D>(this); }
D const self() const { return static_cast<D const>(this); }

typedef D Self;

Self& operator+=( U u ) {
static_assert( (sizeof(U)%sizeof(T)) == 0, "Non integer number of Ts in a U" );
T* b = reinterpret_cast<T*>(&u);
T* e = b + sizeof(U)/sizeof(T);
for (T* it = b; it != e; ++it) {
self()->consume(*it);
return *self();
}

};
template<typename D, typename T>
struct implement_operator_plus_equals<D,T,T> {
implement_operator_plus_equals() {
static_assert(
std::is_base_of<implement_operator_plus_equals, D>::value, "CRTP failure"
);
// Have an operator+= that cannot be called, so using ...::operator+= is legal,
// but mostly harmless:
class block_call {};
void operator+=( block_call ) {}
}
};

I believe I could have solved this without CRTP using Concepts. Although my understanding is that Concepts follows a methodology of deny all, allow what is defined and there appears to be no way to allow all, deny what is specified as a Concept. In other words, Concepts only tell the compiler what is allowed and there appears to be no way to specify what is NOT allowed without some further "trickery."
3D Development environment for the web
Creative Man Builds a Feline Feeding Machine That Requires His Cat to Hunt
I'm specifically saying that "You're attacking this analogy with made-up numbers and wild logical leaps" is too harsh a way to begin a comment here - it's not civil. The dude just said some hypothetical thoughts, you could have responded "Unfortunately I feel your numbers are not drawn from the real-world, and I think some of your conclusions take real leaps of logic. Specifically..."

but hey it's just me. this place is usually pretty civil - it's in the rules.
How does it read data from the PDF? Is there a PDF parser somewhere down inside the code?