skysight-inc/HackerNews huggingface dataset:
Well, one implication is quite obvious. Using ML-techniques you are sometimes able to solve a problem even if you don't have a precise idea of how you would do it. I feel that's part of the point, really.

[Edit: Elaboration]

In ML, you effectively transform your problem from "What piece of code will solve my problem?" to "What piece of data-driven code might solve my problem, and how do I acquire the right set of data?". Also, some ML-algorithms are designed specifically to enable you to analyze their "reasoning" about the problem after they have been trained.
Absolutely nothing of relevance? What a sad piece, this should have gone into the drawer or better as a sidenote in some actual reporting to keep others from wasting their time on it.
Isn't that because it's really JSX?

https://facebook.github.io/react/docs/jsx-in-depth.html

[NB Not that I know, just checking my own understanding].
A Map to Success: Functors in JavaScript
So clicked randomly on the icons on the first page and having clicked all of them discovered that that the up arrow 'started' the game.

I randomly clicked on the stacks, tried to drag the stacks, clicked on all the icons, found that the right arrow seemed to move the left stack towards the right. After several clicks I apparently won.

I will not be showing this to my kids.
Awesome, although I don't quite have a use for it right now.
Next we could:
* Import HTML/CSS/JS/DOM via a URL: https://news.ycombinator.com

* Import XML?
* Import any_structured_data!
All animals, except humans, do.
Not all jurisdictions have a concept of public domain. To claim that "public domain is good enough" is to ignore the 80% of the world that doesn't have the same copyright system as you.
I'm a fan of practicing "stateless development", where years of "thats what we've always done" has no bearing on what I'm doing now. Writing HTML in JS is much more pleasing than cramming JS into HTML via Angular.
I really don't understand the underlying complaint of your comment that the React ecosystem is in constant flux (see what I did there?)

I've been writing React SPAs for roughly two years now.

Very few things have changed. The first app I've written roughly looks like the newest one. Couple of lessons learned here and there like everywhere else.

Yes, there are many Flux libraries and different implementations. However, a decent State management solution for React is roughly 200-300 LOC. So there are many of those 200-300 LOC libraries. So what?

If it's a big project, you should spend the time to figure out what fits YOUR project and YOUR team the best.

If it's a side project, use the most popular with the best documentation and be done with it.
Asking a question, gets downvoted. Awesome, thanks HN.
The rules of chess are, in fact, complicated and inelegant compared to the rules of Go.
Considering how much the public swallows this stuff, I don't think they would be much astounded at all.
"Ten years ago, for example, Google had a one-person lobbying shop in Washington; today, it has more than one hundred lobbyists working out of an office roughly the size of the White House. " ... to the tune of $16.8 Million dollars.

https://www.opensecrets.org/lobby/clientsum.php?id=D00002200...

I really like this article. It's a well-researched call to action for journalists to do real investigative work.
I do realize that.

What if a person is afraid of guns. Would the solution be for the government to subsidize body armors?
1% in journalism = the elite wealthy controlling banks, businesses and bureaucrats.
I don't think anyone is suggesting that a home filling up with things `just happens' --- most people will readily admit that they have bought or received those things, and that those things are there because of their own action (acquisition or receipt) or inaction (unwillingness/inability to dispose of items).

I also take issue with the implicit suggestion in your comment that most people genuinely think that consumerism will add value to their lives; I see that attitude a lot in `minimalist' blogs and discussions, and I realise that they're selling a narrative and a lifestyle, but it's very condescending.

People end up buying things to try and facilitate change or to bring happiness often because they don't know of any other method, or because other avenues have failed them, or they don't have access to them in the first place. When asked, most people will admit that a new gadget or purse or pair of shoes or a second helping of cake will bring them some kind of joy, perhaps fleeting, but will also admit that family and health and following their passions are more worthwhile goals. It's not either/or dichotomy that it's so often set out to be by `minimalists'.

In my own experience, I know and work with people for whom many of these things are impossible to follow for whatever reason. Some have abusive families and still deal with the fallout of that. Many have passions but simply don't have the money to follow them as much as they'd like, or at all. Some people have chronic health issues which they cannot overcome. I'm certainly not going to harangue them or judge them for buying another DVD, or another book, or another pair of cheap trainers because they can't follow more `worthwhile' paths.

Inversely, I've come across a lot of `minimalists' --- mostly online, but some in real life --- who fetishise their lack of possessions the same way many collectors fetishise their collections. Minimalism-as-less-stuff is just as informed by consumerism as maximalism-as-happiness is; it's simply the opposite side of the same coin.
I don't have tax returns.
The best way to implement virtual currency inside app?
What I need is an inside app virtual currency system with a set of rules where each node, representing a user, can earn, spend and share its virtual money.

I'm not sure if it's better to find a SaaS for this or build the whole system from scratch.
LinEnum.sh – Scripted Local Linux Enumeration and Privilege Escalation Checks
Ah, yes.

Brought up here as well: https://news.ycombinator.com/item?id=10966819
Yes we do. I've been in a very similar position as you are - I was complaining against putting HTML in JS, however I've changed my opinion after actually started using React professionally.

From the side it might look like a bad practice, but I promise - this "HTML" in JS leads to fantastic testability. And I certainly prefer to work this way instead of filling HTML with numerous of "ng-" attributes where you're trying to force app generate code that you want.

Sidenote: even though it looks like HTML, it is not exactly HTML.
Take a look at the talk where the concepts behind React are introduced:

https://www.youtube.com/watch?v=x7cQ3mrcKaY

It turns out there is no good reason to separate code and templates, because they are intrisically linked; one cannot work without the other. The separation should rather happen on units that are really independent, such as 2 separate pages of your application.
I'd raise my eyebrows at that 3% stat. Spend a week in Japan and you'll see that it isn't a 50-50 ratio of women: men commuting to work. Are all those housewives classified as employed?
Nice, I didn't know they'd add the compiler. I tried it back then, during the commercial license trial. But it didn't make much of a difference, if any. I remember being in a hurry, though, so maybe I did something wrong and I'd love to give it another try.
So what you're saying is that SV's well-documented sexism is (among many other things, also) may also be a significant contributing factor for reckless investment. But in this case, I don't see the problem. If in 9 cases out of 10 women get the short end of the stick due to sexism, that some of them are occasionally able to turn the tables and use it for their own advantage is nothing but a cause for celebration: "Ingenious Woman Turns Investors' Harmful Sexism Against Them". Social hacking at its best!

If women were only truly able to pull-off "a Holmes" (i.e., con male investors out of their money using their sexual charms), maybe that threat would finally get investors to start seeing sexism as a serious problem.

The only thing that's bugging me about your solution to sexism, is that according to that logic, women should be at a great advantage when raising money from VCs (unless you also claim that their natural lack of cunning offsets that advantage), yet in practice we see the exact opposite. So it's unclear to me how -- without any other information on investors' reasoning -- femininity could be at all mentioned as an advantage when fundraising, while data shows it to be otherwise.
Because the digits are (in terms of compression) random, and take at least 3.3 bits each, 500,000,000,000 digits is over 200 gigabytes of data! Downloading that would take a long time and cost a lot for both parties. Generating it again would only take 12.8 days...
> Doesn't the financial sector employ pure maths PhDs and pay them extremely well?

There are a few big names who make a lot of money, but on average someone with a PhD and x years of experience will be paid less than someone with a masters and x+3 years of experience, AIUI.

> And you can apply an art history PhD in museums, galleries, national collections, etc etc.

Sure, there are a few options, but how many of those jobs are there per PhD?
You don't have to, you can work with React straight from vanilla JavaScript though. I don't know anyone who does it though (except in tests), because it's nearly not as pleasant to work with as JSX.

It is possible to separate JSX elements from the rest of your code if you use ES6 React components or functional components (that is, you don't use React.createClass), because in those cases there is no need to compile the components themselves, so in theory you could separate the "HTML" bits into separate, dedicated files. It's not really a problem I've faced so far, but might end up doing in the future.
CC0 might be very long but in my opinion it's the better choice for creative work that is not Software. MIT and BSD specifically mention "software" and/or "documentation" and might not apply to other works in some legislation.

Lines like "dedicated to the public domain, no rights reserved" would be problematic as well since it is not always possible to give up all rights or the concept of public domain might not even exist (now or in the future) in your local law system.

I take a similar approach to licensing as I do with cryptography: Don't write your own crypto/legal. Stick to what has been tested, accepted and is in wide use in your targeted domain.

Slightly OT: I think it's sad that some part of the tech community thinks about the law as artificial and unneeded and flat out refuses to deal with it. Reality is that those rules are as real and as relevant to your software as are algorithms and implementation details. Sticking your head in the sand won't make this problem go away.

PS: If one demands from lawmakers to learn about technology development than one should also be willing to learn about legal development as well.
please actually use example.com. It's a domain intended for this usage (including with email!).
I'm hoping it works natively with an xbox controller. Until now I've used Kodi's soundcloud app for my HTPC, but I'd prefer a proper app.
I think this is what everyone feels when starting with React, but the pros are much bigger (and more of them) than the cons.

the main difference between React and everything else is that React brings HTML to Javascript (and not vice versa). The result is code, that's easy to understand, test, develop. Code and templates should be decoupled, but in UI development, template is just the visual representation of behaviour (code), which means it makes sense to couple them. Plus when you develop in React, most of the logic should be outside of components in any case (I use Redux so it's in reducers and middleware + some util files).
Personal space is a natural right!

Even animals has this right except farm animals.
Seems maybe an order of magnitude off, depending on definionion of "thing." I cleaned out my mom's house after she died, and if I counted individual photo prints, 30 years worth of tax returns, canceled checks, paid bills, etc. she had a lot of "things."
That is the official view of China.
I agree with your sentiment, but what do you do with all of the stuff you already have? Almost nobody reading these books is starting from a position of zero stuff; they're starting from a position of X stuff, with X being an amount higher than they'd like. The real appeal of these books and the philosophy they espouse is that they allow you to whittle down the number of things you already have whilst also learning healthy habits to avoid ending up in the same situation later.
A lot of recent trends feel like going backwards to grumpy-me as well. Microservices being preached basically the same way SOA was (and falling on every single pitfall again), languages where copypasta and mutable state are "the idiomatic way", HTML inside js code.

Granted, not all recent developments are bad, of course - eg compiled & typed languages being back in "fashion" is a good development imho. It just feels to me we're either not very good at passing knowledge down or just collectively don't care much about learning history to avoid the same mistakes.
> Not even leading indentation on blank lines.

Ugh. I wonder how is this a real issue?

Non-indented blank lines ARE an issue though - they make code editing more cumbersome, requiring pressing the tab key far more often.

Also, tabs are for bros.
Some forms of compliance require end-to-end encryption for certain transmissions. PCI is one that comes to mind.
bounding box - https://github.com/rbgirshick/py-faster-rcnn
there are thousands of threads and blog posts about this please use the search, e.g. https://www.google.com/#safe=off&q=%22jsx+site:news.ycombina...

everyone else please stop replying
I think the most essential-seeming jobs are "underpaid" because such jobs are (by their very nature) fulfilling, and people value that. If someone with the same qualifications would rather teach for $x than administrate for $x+20k, then naturally we end up with administrators being paid $20k more than teachers.
In principle, yes, but a) access via MOC is certainly slower than compiling a direct function call into a single `call` opcode, and b) MOC only covers signals, slots, and Q_INVOKABLE methods. For QObjects, that means that the remaining methods are not accessible. And methods for non-QObject-derived classes are also inaccessible.
Well in my legislation a work becomes public domain only after all of its original authors have been dead 70 years.

There is no way to wave all rights before that. CC0 clears up this and similar issues arising when you are licensing your work to a global audience
Weird article. "Why do games enthusiasts dislike these games? You know, the games that are great for teaching children some supposed lesson or other?".

I expect other articles from the author to include "Why don't wine enthusiasts like $3 bottles of rotgut? I mean, it's really popular with winos" and "why do people like listening to musical bands? Toy xylophones are popular with kids, and teaches them hand-eye co-ordination, rhythm, and so forth."

I mean, the author lionises tic-tac-toe as providing some deep life lesson, when in actuality, even the author's target demographic gets bored of it in very short order.
#3 Write functional components

I'd say "Write functional components where it makes sense". For simple components that is a reasonable advise, however in cases when you need such methods as `componentDidUpdate` or generally any lifecycle methods - that won't do and you have to use classes.
There's not much real information here, except for the names of some key regulators involved. Anyone got a better article?
I have no idea what you're trying to get at here.
Monopoly was originally created to show the dangers of letting a business become a "monopoly". That is until the Parker Brothers started making it and marketing it as a game.

From Wikipedia[0]:

> The history of Monopoly can be traced back to 1903,[1][4] when American anti-monopolist Elizabeth (Lizzie) J. Magie Phillips, created a game through which she hoped to be able to explain the single tax theory of Henry George. It was intended as an educational tool to illustrate the negative aspects of concentrating land in private monopolies.

[0]: https://en.wikipedia.org/wiki/Monopoly_(game)#Early_history
I'v done an integration test example (no PhantomJS, just jsdom) if anyone is interested: https://gist.github.com/tomazzaman/790bc607eb7ca3fd347f
I tried a different approach here: https://github.com/kay-is/react-from-zero
>being absent from it will not be detrimental to your credit rating.

But it will make identity checks with banks a little more complicated, normally they use the electoral register to confirm your address
I guess "e" is not normal, because otherwise any bitstring would occur somewhere in its binary representation, and given that some bitstrings are copyrighted, this would present a legal problem!
Usually medicine that actually works has some negative side effects.

Commercialization of mindfulness business seems to cause all kinds of bullshit quackery as a side effect. There are plenty of minfulness instructors who don't have sufficient experience and understanding. They just drink the Cool-Aid and brush aside things that don't sell.

I have been training zen meditation for 15 years and many of my friends are long time Vipassana meditators. All experienced meditation/mindfullness teachers know that there can be negative side effects and everyone can't use the same method as everyone else. Meditation can sometimes trigger mental illness or trauma. For many people it's good idea to start going into therapy after they start meditation practice. Unfortunately sometimes people want to use mindfullness as replacement for medical treatment and/or therapy (Mindfulness-based cognitive therapy (MBCT) is just fine. It's actual therapy done under supervision of a therapist)
This is one of the main reasons why I've become so skeptical about best practice advice, especially if it doesn't come with a plain logical explanation for the reasoning behind it. Its similar to the problems with outdated laws - if we don't keep track of the reasons why a law came into use in the first place, we might miss the moment where it might not apply anymore (we wont even know, really)

While I'm not entirely sure what the original reasons were, I can see a big difference between the way, say, PHP was embedded in HTML and now JSX is embedded in JavaScript:

1. PHP was embedded in HTML, not the other way around.

2. The preprocessor basically concatenated everything as strings without caring about what DOM would end up being a result.

Because of these two reasons it was extremely hard to protect against improper injection of data into the resulting HTML. There was no way to make the preprocessor understand the different types of "placeholders" in HTML and what kind of data should be allowed within them.

In contrast, JSX embeds HTML within JS. Furthermore, JSX (pretty much) compiles to function calls, not string concatenation. This means that the engine has great degree of control over the interpretation of the data: its impossible to get malformed HTML, or for an attribute value to escape the actual attribute and so on. Which in turn eliminates the original problem that was present in PHP.

As for separation of concerns, thats still possible with JSX. We have CommonJS (or ES6) modules and we can move the render functions anywhere we want. But now its up to us to decide whether it makes sense or not.
If your editor doesn't do smart tabbing, I'm sorry for you. Not to mention that random trailing whitespace is just annoying.
@Graham fair point (BTW I'm the CEO of Contactually). We've made it as simple as possible for now (and our users regularly say that), but we are constantly working to streamline the UI. Any feedback, I'm very easy to reach.
If your new hire is doing all the creating, then yes, it's your job to make sure their job is as easy as possible and they are as effective as they can be. But this example is a little absurd. Manager wouldn't be the correct term for the founder in your example since they would be filling myriad roles beyond manager, just like the first hire would be filling myriad roles beyond "software engineer".
Thanks, didn't know about that. Sounds like it's very specific version of account and most default accounts with IBAN doesn't have this possibility.
I'm concerned that names and addresses alone seem to be enough for these guys to do meaningful ID theft with. The phone book is full of names and addresses anyone can get their hands on easily. Even these guys in India - there's whitepages.com. Not sure why they're going to all the trouble of trying to game Amazon's customer support.

On that note, I order alot from Amazon and throw out their boxes in the trash outside all the time. Sometimes I notice that neighbors (presumably) take those boxes for their own use before trash pickup comes along. All of them have my name and mailing address on them...
Is American Olive Oil About to Have Its Moment?
Great Britain is correct, no? If one were referring to the island one would just say Britain.
The real problem with chess is that it takes a lot of time and effort to become even vaguely competitive. It's not a boardgame you can pull out for a group of naifs and all start having fun together.
Wait, how exactly perception of "personal space" is a response; secondly, please drop the pretense that "fear is bad, mkay". It is perfectly fine to feel fear when a red hot poker enters your personal space (i.e. it can harm you). There's nothing to be fixed here, system self-preservation subroutines work just fine, thank you.

Oh, and, edit, just because amygdala is partial to fear responses, it doesn't make all the actions that it takes part in "fear". It controls a lot of other functions, such as pleasure, sexual behavior, aggression, memory consolidation; not to mention that a lot of information passes through it both into the brain and out of it. Please, age of phrenology is over. It's not coming back. Human brain and human behavior is not "black and white" anymore, it's never going to be. It's a complex system of neuron junctions and pathways some of which are more specialized than others, sure, but, to reiterate, the incredible malleability and the sheer number of connections in human brain make neuroscientists even doubt the necessity of well established "centers" such as Broca's area. God. Damn. It.
Well, that's just... Really bad.
The article explains that the message is a trap street; it says that Gilmore had read it and noted it years before and at he "plucked it" as the secret message.

I can't seem to find in the article the reason he plucked just that message, and why he stuffed it in the DEC routine.

Am I missing something?
I think parent specifically mentioned that just IBAN is enough which sounded very unprobable for me. Another comment explained that it's possible but in very specific accounts.
Here’s why Apple will no longer unlock phones for police
By the Numbers – The Untold Story of Muslim Opinions and Demographics [video]
one mayor difference: MIT talks specifically about software while CC0 is geared to all kind of works
Putting HTML and JS in different files doesn't make them separated. They are still bound by logic. It's an imaginary separation with obscure dependencies. I very much prefer the React way of bundling things that in reality belong together.
Gilliam – A micro services platform
Nature is powerless before the whims of American intellectual property law.
G'MIC, full-featured ImageMagick alternative
Probiotics: 80% of your immune system lives in your gut
Giving better code reviews
The problem comes down to: how do you follow local or national laws when your business crosses many (or all) national boundaries? While we all would like better privacy protection, it's very hard to define exactly what that means for all types of information especially if it is different in different countries.