skysight-inc/HackerNews huggingface dataset:
As I said in the other thread, I think that family should play a bigger role in charity of a relative. If the person receiving care has to face those giving it, it'd be better for both parties.

In countries in Asia, there is a much lower social safety net, but IMO family, friends, and neighbors have a far greater bond then they do in the USA (naming the two places I have experience with).

If I could choose I'd have a charity system which is paid for in greater proportion by the people related to the beneficiary than everyone else. Your brother can't find a job? We tax you more to pay for him.

Although, I don't think society would accept this idea.
Mark Zuckerberg to Speak at Harvard Commencement
Okay, here's my answer: all of black's pieces are blocked except for the bishops. The black king can't move without being checked by a pawn. All the black bishops are on black squares (meaning two must be promoted pawns -- unlikely but possible)

So the white king just needs to stay on a white square to stay safe.

The so-called "aha!" moment was remembering that bishops always stay on the same color. I can't claim any great insight, it's just something I read somewhere (so it could certainly be programmed into a computer).

I had to check that there was no way for the other pieces to escape. I'm not good at chess, so I just did a very quick check and then assumed it was probably fine -- given the nature of the puzzle it's unlikely there'd be a tricky edge case to cover there.

The thesis seems to be that a computer could never develop and use general theorems that let you short-circuit the search process. That's probably true for chess engines (and also mostly irrelevant to real chess matches, rather than puzzles). Definitely an interesting question to explore. My guess would be that real computer creativity is possible, but may require some new techniques.
TLDR: nobody knows. Blood type arises from variations on a single gene called ABO. But it's always hard to infer "why" from genes, genetics is not a source of just-so stories.

Hypothesis given: "So it’s possible that each strain of norovirus has proteins that are adapted to attach tightly to certain blood type antigens, but not others. That would explain why our blood type can influence which norovirus strains can make us sick."
We detached this flagged subthread from https://news.ycombinator.com/item?id=13865861.
For myself, the ways I interact with the 'gang of five' are:

Apple: Currently using an iPhone 6, though that's pretty much it at the moment.

Google: I find Google Search and Gmail indispensable, and haven't found a better alternative to Google Maps.

Amazon: Sometimes buy stuff on their site, but don't really interact with the company that much overall.

Facebook: Use WhatsApp and (sometimes) check Facebook.

Microsoft: Use a Windows 10 computer with Microsoft Office programs.

Based on that, I could probably drop Facebook and Amazon without too many issues, and finding an iPhone alternative wouldn't be too difficult either. However, I'm not sure I'd be able to easily escape Google or Microsoft, which is worrying in of itself.
Is Scala Native GCed?
To the real Rolls cars? Probably not much. Mostly, I would see them putting a bit more effort to ensure their cars are easily distinguishable from the Chinese clones.

They aren't, after all, really that much better than regular cars in the first place. A simple $40,000 luxury model from BMW or Audi is quite comparable in terms of fit and finish. The types of leathers and woods will differ, but for the purposes of a daily driver, that would make no practical difference.
Why do you say that? Keybase doesn't generate keys from passphrases.
Being old is not a reason to flag a submission, at best appending the title with the year would be all that would be required.
Okta Files for IPO
Very smooth writing, like a luxury watch.

I can't believe I've now opened a few tabs of watch manufacturers, looking at their goodies. Haven't worn a watch in years, but curious to see if any designs take my fancy.

I'm not a fan of classic, I'd prefer something sci-fi, dark, modern, hi-tech, unexpectedly cool with a comically over-the-top product video... https://youtu.be/R5aj53a1wQE
I agree stepping through is incredibly useful, but I think you're wrong to characterize "printf debugging" as a mistake. A printout of several well-formatted printfs can be a good way to view more than one moment of a program at once. It's less useful for control-flow errors but can be good for other problems.
So you start out believing in free expression, then special interests hammer you in main stream media and you cave. Your business falls apart. And we end up with a self-inflicted nanny state that squashes dissension and reality, and prevents people from actually evolving.
Is Treehouse the best for learning to code?
On the one hand, I'm also skeptical. On the other hand, I could see someone glancing at the date and accidentally reading "Mar 10, 2017" as Mar '10.
I think a few people had that same thought, and then invented Golang. Love it or hate it, building a typical go app, or even a suite of apps, is pretty darn simple.

If you can get by using only go for everything, you'll have a great time. But complexity starts to become unavoidable when requirements move beyond single-language ecosystems. At some point simplicity can end up costing more.
Intel is the device manufacturer... it doesn't matter if they're "better". They get to choose what they put into their own hardware, this isn't an open audition.

Regardless, you're missing the point. Intel has the means to get into the space and create appropriate CPUs to compete. This acquisition makes it clear they're planning on doing just that.
Airbnb – Ruby on Rails String Interpolation Led to Remote Code Execution
yes (https://github.com/scala-native/scala-native/issues/128)
Ok, yeah, but we still don't completely understand all the features of the equally undocumented compiler, standard library, and OS kernel.
How did it perform on Chrome?
so it's the halting problem? https://en.wikipedia.org/wiki/Halting_problem
>It is much better to use terms that people can readily visualize.

That's why they use imperial units. It's the New York Times, an American newspaper writing for an American audience. I'm pretty familiar with metric units but even I have a hard time with "one meter" until I remember it's the same as a yard. What's a kilometer? I don't know, but it's a half a mile to the coffee shop from my house. That's pretty easy for me to visualize.

What I absolutely cannot visualize is how big the Empire State Building is. Absolutely terrible comparison, IMO. I have no idea how big the Empire State Building is. But I know how much a gallon is, and my car weighs two tons, so that's pretty easy.
> Why are the general discussion sections of anonymous imageboards the most popular part of said sites?

It appeals to a wider audience than any specific board and provides novelty.
The closest thing that comes to mind would be languages that are vector centric, like R or Matlab. But R isn't exactly "conceived from the ground up to work beautifully atop modern CPU's". In fact, one of the knocks on R is that it isn't terribly performant and it's not easy to make it scale. shrug
Hanlon's razor: "Never attribute to malice that which is adequately explained by stupidity"
Except you can already query/set the color palette to arbitrary RGB values with control sequences (at least with xterm, rxvt-unicode, and I imagine others).

As far as I've been able to tell, "truecolor" terminal support is about simultaneous display of a range of colors beyond what fits in a palette. Which, eh...seems a bit much for a terminal.
Somewhat relevant: https://blog.plan99.net/kotlin-native-310ffac94af2#.ijzik0jx...

Title says Kotlin, but it is about JVM languages going native, in general. Or should they?
Cultural priors indeed.

"Why is it normal to be banned from interpreting electromagnetic flux that's being pushed through the space around me, in my house, and literally through my body, without my consent?"
"Facebook understands the emotions expressed in what you type as statuses, and in messages via Messenger or WhatsApp."

Is this correct? There was a very involved discussion about WhatsApp's encryption that I thought indicated they don't, in fact, have access to WhatsApp messages.
Should be, because Scala doesn't have strong vs weak reference distinction.
I am American, and I'm sure this bothers me more than it actually bothers the queen.

Between that and the incessant use of the incorrect phrase "for free" instead of the correct phrase "for nothing" it's amazing that I can stand to read anything on the internet.

xD
Apple – Home app
> The institute is also hoping to develop new technology to improve the treatment of brain disease and anesthetics, develop a new type of telescope to detect dark matter and even resolve the Schrodinger’s Cat paradox, which suggests a cat in a box could be alive and dead at the same time.

This is why I dislike most science reporters.
That's a great idea. I wish it would happen. But I worry it's a lot like asking for standardized clothes or cars.

Great ideas in theory but everyone wants some level of differentiation. I'm not sure why.
Kinda relevant piece art: Rosencrantz and Guildenstern Are Dead https://en.wikipedia.org/wiki/Rosencrantz_and_Guildenstern_A...
I agree. I'm simply saying for many it makes a lot of sense to learn the theory as it actually becomes relevant to what you're already doing.

The more important thing though is that it's a line of thinking that enables people and gives them confidence to get going earlier, rather than wait until they've checked a bunch of checkboxes and have been cosigned by an institution. I think all the fears and ego-issues around not knowing enough before you get started are a bad thing, an inhibitor.

That said, I now wish I had done those 4 years. It would be amazing to be able to take 4 years off just for school at 31 than to have to struggle to find time to learn in the middle of projects. But it just was never gonna be any other way for me than diving in. And after all, a mindset of continual learning is what it's all about.

I think diving in and building something--regardless if you start out early with a CS degree--should be the primary focus.

If you jump straight to a CS degree before even building a simple website or simple whatever, it's a mistake. And ideally develop a minor level proficiency and achieve some wins where you start feeling yourself for your growing skillset. If you jump into a CS degree without at least having that, ur making a huge bet on something you know nothing about, that you might not even enjoy.
> ...than we might be aware of...

It's a 400 billion dollar company and, as the GP noted, most people's default web experience.
FWIW, this is also the standard way of implementing if/then in the lambda calculus:

true = \x.\y.x

false = \x.\y.y
You are making the same mistake the IndexedDB haters made. The standardization effort around JOSE, as far as I can tell, is about making the browser a place where you can run crypto. They want it to be composable because that's the web way.

I can agree with your critiques but still wish "real" cryptographers would accept the inevitability of a worse-is-better approach winning here. Don't flip tables, write the jQuery of web crypto. You'll do more good in the long run going with the flow on this one.
Quick Introduction to VueJS
I think for Server-Application Scala on the JVM will probably beat Scala-Native. The benefits of Scala-Native over Scala JVM are:

- faster startup time
- (drastically) lower memory footprint
- fine hand-tuning of you application

All these things are not super important in server-applications. For example Java trades memory for throughput (higher memory footprint, but also higher throughput. These usually go hand in hand.).
Yeah, the only way to get it to work reliably is to also employ other energy-saving tricks, like using a Sleepy Pi HAT and a rechargeable battery. The cost starts inching towards $1k+ at this point (not to mention the time involvement as well).

However, it's definitely doable, and if you have something like a year-long construction project... it's not really that expensive for what you'll get in the end!
Viagra Spam and Generic Drugs and Ball-Buster Patent Law
That explains why some of the site is blocked as "Category:Games" by the web filter at my work. Fortunately our web filter doesn't block the whole domain, just some of the pages.
Buck is primarily Java, just sayin'
Design and Jazz: How Jazz Improvisation Can Help Designers Synthesise Deliverables
First thing I thought of was another more niche musician (https://en.wikipedia.org/wiki/Robin_Rimbaud) who released a number of tracks in the early 1990s under the name "Scanner". Which, as the name suggests, was ambient music over recorded snippets of conversation picked over radio scanners.
Talking about android. It's never quite clear where the back button will take you (sometimes it goes back to the previous app, sometimes not), some apps (in particular the google app!) lose their state on switch, the switch process itself is fiddly.
thanks, i fixed it (sorry my native language is French, so it felt weird to write "bear" with me, like a teddy bear? Ain't making no sense to me now, thanks!?! (double negative = positive)
Yup, you're right. if you use a full size cryptographic hash then the number of undetected errors can be treated as 0 regardless of hamming distance. On the other hand, it has 8x the storage overhead of a 32-bit CRC.
none of the black pieces except the bishops have any legal moves,

Why couldn't black move the topmost pawn forward?
For bandit learning MWUA is called EXP3, and it's close to optimal (off from the information-theoretical lower bound by a factor of log n, I believe). Various improvements like EXP4 and EXP4p keep improving this bound.

The difference is it's optimizing for a different mathematical model, one which assumes no stochasticity and the rewards can be arbitrary, and adversarially chosen with full knowledge of the algorithm. This "full knowledge" guarantee is what makes MWUA all about "adaptability" (and it's what makes the linear programming example work so spectacularly in the post: the roles are flipped and we as the algorithm designers get to be MWUA's adversaries!)

I don't have a direct empirical comparison of EXP3 and Thompson sampling, but I am delighted to say my blog post [1] comes up first when you google "Exp3"

[1]: https://jeremykun.com/2013/11/08/adversarial-bandits-and-the...
I'm really glad github is being adopted in architecture/engineering. That being said, I've contributed to a handful of popular, open-source tools in architecture, and the big problem for us is that architecture depends on large binary CAD files that don't cooperate with github.
I can't tell which way the board is oriented? Where did white start?
Can you, for certain, tell if someone who is diagnosed with cancer 100% directly caused that cancer?

At the point that someone is diagnosed with cancer, what is gained by saying "I told you so"?

Would you go as far as to say that to someone who got stomach cancer? That they should accept the consequences of eating cured meats while they and their family suffer?

What about prostate cancer? Did you know that the risk of prostate cancer is decreased by 20% - 30% for each of the following: 1) regular prostate massages 2) increased number of orgasms 3) drinking coffee 4) ingesting more lycopene 5) exercising (41% decrease in risk of developing prostate cancer!) 5) consuming more omega-3 fatty acids.

Would you hold the same "I told you so" attitude towards someone diagnosed with prostate cancer because they didn't have enough kinky sex, drink enough coffee, exercise and eat the right foods?

I'm having a hard time differentiating between "didn't pay $75" and "didn't exercise or rub their prostate hard / often enough".
Mobile API Security Techniques – OAuth2 Attacks, Protections, and Mediators
Long time Java lover here. I agree with all your points, but in the context of Java at least (does Scala support this?) there is no simple static binary that can be built and released, which includes the JVM. I think 1.9 will have this option, but this is something I didn't realize I missed until I started work with Rust and Go. It makes deployment so much simpler.
Xiaomi Redmi 3S Specifications and Review: Power at Last – SuratNow
There's a computer chess rendition of the position halfway down the article that's a lot easier to parse than the drawing...
> assiduous: showing great care, attention, and effort

Just thought I would define the word since I think the OP went out of his way to use a 10-dollar word buried deep in the text that wasn't in the original title.

On the subject of the article, though: next you're going to tell me the Mexican cantina I visited in Milwaukee isn't actually as authentic as the name implies! At least I know Little Bangkok in Philadelphia is the genuine thing. Right?
That explains one of those recent rattling sounds in my head.
But can be important if you only have a 512MB DigitalOcean instance or using small Linux containers/Docker.
Touche.....
How Progressive Web Apps Make the Web Great Again
Bubble Pop iOS Game
Agreed. I can get caught up in a mess of different 'experimental' approaches and need that 'staring' phase to re-contextualize.
In chess illustrations white is always at the bottom.
King to bishop 3.
Going against my usual grain here on HN, I feel bullish about shared automobiles. There's too much financial upside to renting one if we can iron out the techincal and financial wrinkles.

And sure, the wealthy, or at least those who enjoy having a personal vehicle enough to pay for maintenance, insurance, etc., will probably still be able to own one.

The perfect plan -- in my mind anyway -- has the following aspects:

1) The autonomous cars have sufficient coordination among themselves to eliminate certain aggravating characteristics of human-piloted cars, e.g. the accordion/rubber-necking effect. This is not an essential feature, but might help sell the cars to an understandably skeptic public.

2) Power source is electric batteries which can be easily swapped out.

3) Home bases to keep cars close to their customers -- a good re-use for obsolete retail properties. Cars which have completed their rounds return to their home base for battery swaps, cleaning, maintenance, etc.

4) Plans for different needs -- e.g. 5-day/week commuting plan, plus on-call for weekends. Customers could craft plans to suit their needs.

5) Human-piloted cars might need certain restrictions such as limiting their access during peak traffic times. My personal inclination would be to allow unrestricted road access to nights and weekends.

6) Not all of the cars need to deliver humans -- others could deliver packages.

That said, autonomous cars could be made obsolete themselves should society decide to pursue and adopt somethings such as telepresence, but my money says that those who write checks (i.e. bosses) will always be control freaks who enjoy making their serfs miserable, so autonomous cars look more viable in the near term.
There are several vendors out there selling version control for spreadsheets like pathio, Finsbury Solutions. IMHO the problem is that devs know the value of version control, but it's a hard sell to the busy end users building sheets who see only barriers and controls. I believe unit testing for spreadsheets could eliminate the kind of errors that we saw in the London Whale spreadsheet [1]. SpreadServe's Python API enables you to build spreadsheet unit tests. I really should get round to posting some sample sheet unit tests on github.

[1] https://baselinescenario.com/2013/02/09/the-importance-of-ex...
My name is Michael Bolin and I created Buck.

When I started the project, Buck had one specific goal: to make Android builds faster (https://youtu.be/CdNw6mRpsDI). At the time, the recommended way of building Android (from Google) was to use Ant. So when someone points to Buck as an example of "creating competing tools more often than persisting with and improving existing ones," I'd like to point out that you can't fix Ant if these are your issues with Ant:

* It is unsound.
* Because it is unsound, it is irreparably slow.
* It uses XML as a build language.

Yes, in July 2012, there were a number build systems on the market (though Bazel was not one of them, but Pants was), and none of them focused on building Android. And even if they did, few (if any) software companies were building an Android app as large as Facebook, so it was unlikely that anyone else was going to design for our scale.

It also wasn't just about build times, but about how I wanted to see us organize code in our repository. At the time, there was a flat list of folders in the Android repo, each called lib-something. This drives me insane because you inevitably end up with two (or more!) people creating com.facebook.common.StringUtils, each in their own lib-something. (It's also annoying to `ls` this "lib-" directory over time.)

In contrast, Buck/Bazel encourage the use of a unified tree, but still encourage fine-grained modularization (which is key as your build graph gets very large). This has been shown to scale to extremely large monorepos at both Facebook and Google.

Finally, by having total control of the build system, we were able to build in all sorts of cool tricks to build Android very fast, both in the large and in the small: https://youtu.be/Y9MfGS3qfoM. I don't think there is any other build system we could have decided to work with at the time to achieve these gains.

Buck has since evolved to build everything else at Facebook. This is not because the Buck team set out to conquer the world, but because people internally wanted the benefits of Buck for their builds. Building an alternative toolchain to xcodebuild was a mammoth effort (and one for which I take no credit). Having one build language for a heterogeneous collection of programming languages in a monorepo is no small feat.

Finally, to the people who believe "The big guys want developers locked into their ecosystems," I have news for you: the Buck team is not offended if you use Bazel, Gradle, Make, or anything else. Buck is open source because we wanted to share it with the community, not dominate it. Like many of you, people are excited to show their work and learn from others.
What an interesting read. I also enjoy how the URLs display on hover. Stylin'.
This technique is limited by the fact that it only works if all the messages are sent to x, rather than x being sent some message.
> Blood type arises from variations on a single gene called ABO

I remember reading somewhere that blood can have more than just the regular ABO antigens. I wonder how that plays into that gene theory.
Most notably apps can inject arbitrary JS into WKWebView, making it much easier to track The user’s actions.
I've read a few different books that say we make decisions from our gut or emotions--logic is only used to try and justify it to ourselves.
to name a few.

Those are the only ones.
:) Sorry, I always carry my trusty pitchfork when on the internet.
Glitch is GoMix from the looks of it. Go to GoMix.com. I happened to be there just 3 days ago. Now it redirects to Glitch.com lol.
The consensus algorithm of both is very unlike the other.

IOTA has something like "Monte Carlo Random Walk for Tip Selection by most Proof-of-Work" while Byteball has 12 trusted witnesses to stamp and order transactions as they see them, stamp only when satisfying consensus rules, a Main Chain can then be built from all possible transaction histories (branches). No proof-of-work aside from signatures.
What is the licensing model? Completely open source, free for small time use with license fees for heavier use, charge for all commercial use, undecided yet?

I ask out of interest rather than because I am thinking of licensing it. I can see it will be highly useful though to those that need it.
Black is moving down the board.