skysight-inc/HackerNews huggingface dataset:
It's a collection of real-life situations, like that whole #bendgate fiasco on the internet, Occupy Wall St. or the american-led military campaign against ISIS, linked to the situations that people think caused them.

For example: there are rumors that North Korean leader Kim Jong Un has been toppled (http://www.latimes.com/world/asia/la-fg-north-korea-kim-rumo...), and the cause for these rumors is that he hasn't been seen in public in more than a month. A user could go to Causemap to understand what caused the rumors (http://www.causemap.org/situation/160d455f667aa6134efe251746...), add what they know by editing the situation (a la wikipedia) or expand the list of causes and/or effects.
It's a pun, but that's all. The plain reading of 'We are not talking about eliminating other types of states. We love most states, especially yours! Also, "hash" is another technical term and has nothing to do with cannabis.' does not indicate a serious commitment to anarchism.
Exactly! I think there's lack of document which quickly goes through basics and spends more time on rust-specific features. (Or I'm too lazy to find them?) For developers programming for decades, we do not need to repeat too much about integers, characters, etc.

I personally like to use slides to learn things. I'm not sure if this is typical, but slides are usually concise and easy to read.
Heap Analytics is in the process of moving over our documentation to ReadMe.io and so far the process has been amazing.

The ReadMe team is really responsive and helpful, the documentation is beautiful and the interface goes above and beyond.

Just to give you an idea of how polished the service is, if you select a background color that contrasts poorly with the text, the interface will let you know. It also automatically generates a "white" logo for darker pages. This has almost nothing to do with writing documentation, but has a lot to do with making documents readable for users, which is easy to overlook if you're not a designer.

See our docs: http://docs.heapanalytics.com/

Right now they are a transcription from http://heapanalytics.com/docs but we're planning more robust docs and ReadMe will make that process a lot smoother.
Thank your for writing this. Many people have commented in this thread that the US embargo on Cuba is responsible for Cuba being a poor country.

However, Cuba can still trade with other countries. They could even buy American products through other countries. They don't do so (in a significant scale) because they have nothing to offer. Cuba offers little of value to the rest of the world.
Being disingenuous is not a crime, in fact, it's incredibly common. No one should be compelled to reveal their true intentions, regardless of if they're in good faith or bad.

Intentions are subjective, actions are not.
really interesting stuff. small typo.

fn person(person: &Person) -> &str { ... }

should be:

fn first_name(person: &Person) -> &str { ... }
To be fair, resource disposal is sometimes "delegated" to runtime. But it's always a local concern, like a reference counter for a shared resource, or a mutable `Option<R>` value that can have the R resource taken out of it or put back into it dynamically. There's no creepy overarching runtime system that tracks individual objects from a distance.
This kind of thing is coming. I wanted to let the Guide sit for a while before I got to it.
Right. C++ used to have auto_ptr, which did roughly the same thing, but didn't quite get it right. Transferring ownership was always iffy. There were, I think, three standardized versions of auto_ptr, all bad. Now there's unique_ptr, which is supposed to be better.

The lesson of C++ is that you can't bolt on safety by using templates to paper over the underlying mess. The mold always seeps through the wallpaper. The usual problem is that at some point you need raw pointers to call some API. If you can get raw pointers, the abstraction has to have a leak.
Check out the examples, they load content via JS.
What's the Arc rendering engine? Google didn't help
I get that being pedantic is fun and all, but give me a break.

If your salary reflects a 40-hr week, and you work 60, all you're doing is reducing the $/hr you make. If you do non-work-related stuff at work, and you expect compensation for it, you're billing your company for time you shouldn't be.

I refuse to believe you don't get this.
How does this differ from the Algolia HN API in terms of data access? (https://hn.algolia.com/api) I was able to download all HN data recently with ease using that endpoint. Authentication?

EDIT: After looking at the documentation there are two new aspects of the Firebase API not in the Algolia API:

1) Ability to see deleted/dead stories.

2) Endpoint for user data.

Question to kogir/dang: Has the "delay" field (Delay in minutes between a comment's creation and its visibility to other users) always been there?
Excellent site! Although it is still under development, I can see it'd become very important to the community.
It is highly likely that software-driven games could have a bug. Therefore the casino could have decided that electronic machines are too risky. Or they could have paid for some kind of insurance. I think the casino, just like many banks and retail stores, are using technology that they do not understand and are unwilling to pay or learn. They want more profit.
Let the seller beware.
It's interesting, and troubling, that so many still trust these institutions:

* Banks that have been caught repeatedly both intentionally defrauding people and acting with extreme incompetence (and who knows who often they haven't been caught). Yet most customers, from individuals and to large corporations continue to trust the banks with their money and to take the banks' advice.

* They trust LIBOR and similar services as accurate and fair, when they've been tampered with repeatedly.

* They trust the financial markets as safe, fair places to invest, despite the problems above and others that pervert markets directly, such as high-frequency trading.

* They trust the 'Free Market', a good idea in concept but in execution appears to be a rigged marketplace, where the powerful win and if they don't, they get bailed out.

Do you still invest your savings in the financial markets? Do you have debts whose rates are tied to LIBOR? If Goldman Sachs offered to advise your company, would you trust them? Most people, knowing all of the above, still say yes. I think in part that's because there aren't many alternatives and in part it's due to lifetimes of of habit. These problems must be hurting trust and I imagine many people eventually will realize the disconnect at some point -- maybe in reaction to some big event -- and pull out.

The point of regulation is to make markets safe, which prevents fraud and attracts more investment. It's good for everyone. It seems like many in the financial industry, and the knee-jerk anti-regulation crowd, have lost sight of that.
8967 Briarwood Drive, Plymouth
No.

Because people know they could be taking a placebo, then having undeniable effect (psychoactive, redness, soreness, etc.) tells them that they are not using the placebo. Conversely, having no undeniable side effects lets them know that they are using the placebo. Thus, placebo usage is undermined.

"Active placebo" has an undeniable effect, but not the compound being tested, so that the test subjects cannot tell if they have the placebo or the real things.
1. Familiarity to C++ programmers, for whom taking a reference via `&` is a familiar operation.

2. There are two different kinds of references: `&` is immutable and `&mut` is mutable. One way or the other you'd need some sort of differentiation.

3. Borrowing, though crucial to the idea of Rust, is still less fundamental than ownership. You can have a language with ownership and without borrowing (indeed, this is how most prior languages with ownership work). But you can't have borrowing without tracking ownership.
Algolia scrapes HN HTML and provides their own API from what it looks like.
In practice you're not doing every step consciously.

Take, for example, subtracting 188 from 500. Count up to 200 to get 12. The difference between 500 and 200, however, is automatic. It takes no thought at all. So you arrive at 312.

Sometimes you can count down, too. Take 512 - 333. That's just 200 - 21. You can find 21 by doing it left-to-right if you want (it's how I just did it).

I'm not saying it's some kind of magical way to handle arithmetic, and it's not something you use to the exclusion of other techniques. Rather, what you're doing is converting the problem to something that is easier to solve. Left-to-right is a very useful, general, and systematic approach to do that, but there are faster ways depending on context. You can analogize it to programming in that you can trade CPU (left-to-right) for memory (cached tables of differences) to arrive at an optimal algorithm for the problem at hand.

So I would just re-iterate that learning these techniques isn't simply for the sake of doing arithmetic faster in your head. Rather, understanding how and why they work, and how to select the methods, improves numeracy in general.

And FWIW, I never look at the change in my hand. I don't literally count up like a cashier might when handing you change. To be honest, until _just_ right now I never really fully comprehended exactly what they were doing. I knew it was similar, but it only now just clicked that they were counting up in a fashion similar to what I've always just done in my mind's eye by breaking up and rounding numbers. (Not that I think I'm particularly good at this--please don't walk up to me on the street and drill me ;)
An active placebo replicates some of the side effects but has none of the therapeutic ingredient. This helps with double blinding.

http://onlinelibrary.wiley.com/doi/10.1002/14651858.CD003012...
What alternatives do you personally use?
That's a good point, but taking advantage of a casino after a player asks the casino to help them cheat, and the casino obliges, is a much grayer area of morality than simply stealing stuff.

To make another retail analogy, it's like a guy walking into a store, picking something up, and asking the clerk, "Hey, is it OK if I just take this home now?" And the clerk says "yes" with the assumption that the person intends to pay for the purchase later.
On the other side of the story, both Boxers and ISIS are not "civilised" according to modern standard: Boxers executed foreign missionaries and Chinese christians including children and women.

Furthermore, both Boxer Rebellion/Revolution and ISIS provoked even higher degree of foreign intervention. In the summer of 1900, the Eight-Nation (Austria-Hungary, France, Germany, Italy, Japan, Russia, the United Kingdom, and the United States) Alliance was formed to "relieved the siege of diplomatic legations" in Beijing. During the time, the Summer Palace was destroyed again (the first time was by British and French expeditionary forces during the 2nd Opium War, in 1860). I don't know what historic heritage left in Iraq now but it will certainly gone within 12 months.

Based on Chinese history, I'd predict:

1) Iraq (maybe the whole mid-east area) will fall into full warlord state for decades.

2) A new secular force will emerge with extreme left ideology, just like Chinese Communist Party.

3) The new secular force will obtain nuclear power.

4) The new secular force will largely destroy the Islamic culture as we know today.
Would he have any grounds to charge the government and/or the casino of theft?

He won that money in a fashion deemed not-illegal, the IRS even says he legally won it and want to tax him for it, and then they took it off him.

Sounds like theft to me.
It sounds crazy, but the idea is that to be an effective placebo, a pill has to produce known side effects of the real drug. So if the real drug is known to produce dry mouth, the placebo will not be simple salt or sugar, it will be a substance that produces dry mouth.
It will be interesting to see what happens to casinos in the coming years.

Most people under 40 don't play slot machines, which account for a large portion of casino's revenue. Free-to-play games such as Candy Crush are far more interesting to younger players.

Vegas casinos will be fine, because gaming isn't the leading source of revenue for them. However, regional casinos depend on slots for revenues. As gambling become legal in more and more states those regional casinos will also have more competition.
BeerThink: infinite scrolling in a mobile app with Ionic, Node.js, and RethinkDB
They don't scrape it.

From the hnsearch about page:

"Every 2 minutes, the last 1000 HN items (stories, comments, polls) are sent to Algolia's indexing API. Items from the last 48 hours are refreshed every hour."
Agreed! ReadMe does search, with the added benefit of also searching user questions, blog posts and errors.
Any kind of rate limitations we should be made aware of?
I thought it was a joke, and a cool hack, but not actually intended for real use. But I wasn't sure, and came here to post "So... is this a joke?"
> So I need to pay money to a big institution to be considered a student?

In the US, I guess you do.

Here in Finland, all uni/polytechnic/what-have-you students get a school-issued email address and student identification card, and tuition is free.

So I guess your criticism is for the US culture? :)
It's a great watch. Here's the WaPo article, and the local news investigation he discusses..

http://www.washingtonpost.com/sf/investigative/2014/09/06/st...

https://www.youtube.com/watch?v=TU_nh51FU14
The issue tracker on https://github.com/HackerNews/API appears to be disabled, though the summary says "Documentation, Samples, and Issue Tracking for the Official HN API."
5700+ Games, 50+ Systems.Complete Nintendo and Sega Sets
Hunter Saves 20 Puppies by Literally Giving Them the Clothes Off His Back
Thanks for that link, I had missed it apparently. Not sure how they would 'fix' it though, perhaps different materials with different valence electron configurations. It seems it would create an upper limit on the current through an LED, where any additional current would just result in more heat and no additional photons.
These companies (bank in specific) often repeatedly do these type of things trying to get away with m/billions in profit. When caught, the penalties just aren't enough to dissuade them from it. They probably get away with it most of the time, so there is no incentive to do otherwise. I really wish we would push for real penalties (jailtime, as we have done in the past during bank scandals) or even entire shutdown of the companies when they act unethically.
http://onlinelibrary.wiley.com/doi/10.1002/14651858.CD003974...

> We did not find that placebo interventions have important clinical effects in general. However, in certain settings placebo interventions can influence patient-reported outcomes, especially pain and nausea, though it is difficult to distinguish patient-reported effects of placebo from biased reporting. The effect on pain varied, even among trials with low risk of bias, from negligible to clinically important. Variations in the effect of placebo were partly explained by variations in how trials were conducted and how patients were informed.
Interview with Brad Cox, the Man Behind Objective-C (2009)
OK, so it is usable on some level in scientific experiments. It's a bit much to claim it on the same level as a scanning-tunneling microscope though, a device designed, built and used exclusively in a scientific setting. Blue LEDs are a product, not a novel instrument. Again: I don't intend to belittle the achievements made, they're revolutionary in their own right, but they are not as scientific in intention as an STM and don't contribute nearly as much to the base line.
What should influence your decisions
>How is this any different?

It's not, and casinos are starting to see courts routinely deny them the least bit of sympathy when people beat them at their own games. The Borgata in Atlantic City was recently trounced in court while attempting to recoup more than $1 million in winnings from a group of Baccarat players that happened to notice that the pre-shuffled cards they were supposed to be using weren't shuffled at all.

Casinos make more than 90% of their revenue from less than 10% of players. When the exploitation of addiction is both your sole reason for existing and your primary source of income, you will find most people unsympathetic to your complaints.
Reversal of Alzheimer's symptoms shown in study
Oh sorry, you meant why does it use JS to load content and not why it uses JS at all.
This is going to be helpful to many students, but...

But the constraints imposed by not being able to pay for third-party services during my years as a student have been the main motivator behind tinkering with setting up my own services and finding (FLOSS) alternative solutions to the well-known applications the grown ups were using.

I think one has to "suffer" through all the required stages in order to grok all the IT/CS/CSE problems and tradeoffs that exist out there. I also think this suffering is needed to appreciate why these service are good.
If an application is that business critical, then shouldn't the organisation be running it across multiple cloud providers, or ensuring it can run it internally?
Yay! I've been wanting something like this to come out. I've been playing around with some new tech stacks and built a css replacer of hacker news, but always wanted an actual api to make it easier.

http://jmaat.me/hn

There's a bunch of css pages that come out for hacker news, but I couldn't find anything that aggregates them. This will be alot easier to extend and customize the site.

I'm not seeing any api's for the jobs or show sections though? Hopefully this might come in the future?
Firestone Has Success Stopping Ebola
"A variable can be anything" isn't loose typing. It's just that the type expressions that describe the program are not (necessarily) compile-time constant expressions.

In many "variable can be anything" languages, you cannot for instance add the character string "3" to the number 3 to obtain 6. You get an error, like "the string '3' is not an arithmetic operand".

So even though the variable which holds that "3" can be anything, the arithmetic add operation doesn't take any kind of value.

Languages of this type can be subject to static checking, which can identify potential programs. Mature dynamic languages have good compilers with such checks. Instead of being told "you cannot run this program because of such and such a type mismatch", you get a softer diagnostic like "there is probably a type mismatch here". (And if the program is run anyway, the mismatch is still caught at run time and turned into an exception---if the execution of the program steps into the code with the values which trigger the problem.)
> Exception: when the number is meaningful

As it is in this case: http://en.wikipedia.org/wiki/Seven_deadly_sins

If a (some might say, literary) allusion has no place on Hacker News, just because it happens to have a number in it, then the small-minded literalists have really taken over this joint.
The Swansea and Mumbles Railway, first public railway that ended as LRT (2009)
> No one went to jail for reckless behavior that they had good reason to believe was wrong.

Unfortunately most of what the banks did that caused the 2008 crisis was not against the law.
This is scary.
Requiring employees to submit pictures, mobile numbers & private email addresses on a publicly accessible page?
Plus: many of these email addresses are connected to fb accounts...

Don't get me wrong. Generic attendance tracking of government employees is great. But the level of access here granted to the public is horrible. Just think of abuse situations such as: burglars checking whether the house is empty through the page or ...
'Endgame,' Google's worldwide augmented reality game begins today
It's treating "student" as the individual's current occupation, which seems reasonable. But if you are conducting your own unaffiliated independent study that eats up most of your workday, you can probably get in touch with them and get a waiver.
Yay, stable prices.
It is not only the US which abides by this culture, much of the world does. Northern Europe comes across as a stark exception, though!
On “familiarity” (or How to avoid “going down the Math Rabbit Hole”?)
Let's say you lose more than you should have mathematically. Do you get to disable the machine, mark it off with tape as evidence, seize your lost money, have everyone involved in the production of that game arrested, and only then try to figure out what happened?
> "premature optimization."

Once a feature works as intended, optimizations aren't premature anymore. You're then in a position where you can profile, measure, and compare.
I really like SQLite and posts like this always makes me wonder: Could I run a webshop on SQLite, if I did it right and how many users could I potentially support?

Of cause it's not that hard to deploy a MySQL or Postgresql server, but it's still pretty hard to beat SQLite in ease of deployment and management. Running a simply webshop could be a easy as having a database for inventory and one for orders. Even very large stores aren't going to have thousands or even hundreds of orders a minute, so I don't think that writes would be an issue and reads certainly isn't an issue.
dave, thanks for your response. Rest assured that I won't 'bill' them for non-work related stuff. I assumed it was obvious but will explcitly state that if take an hour off, I'll make it up later in the day.
HORS with ents, HORSE
Jokes about homeopathy aside, if you can answer your own question, there's probably a Nobel prize in it for you. Mind/body interactions are incredibly complex and as yet pretty poorly understood.

There are some known ways to take advantage of similar effects--for instance, helping patients find ways to lower stress as a means of mitigating risk factors like high blood pressure.
I think a company like breather might have a use case here.
The SWAT team is on its way.
This stuff is really interesting.

Imagine if you're playing, say, blackjack with a human dealer. After you win a hand but before you collect your winnings, you ask the dealer, "Say, would you mind if I retroactively increase my bet and collect the winnings on that?" The dealer replies, "Sure thing," and pays you accordingly.

I imagine we'd all agree that there's no harm in asking, and that the dealer's compliance is his own problem and a problem for his employer but not your problem. Why does this suddenly change when you're talking to a computer instead of a human? I'm not saying it doesn't change, but I can't entirely figure out why we approach these two scenarios so differently.

For your ATM comparison, it's not uncommon for excessively-clever bank customers to jokingly ask the teller for a million bucks, often in response to a question like, "Is there anything else I can do for you today?" Suppose you found a particularly dim teller who decided to actually hand over a million bucks when you asked. We'd blame the teller and the bank for agreeing to such a thing, not the person who asked, right? Yet when it's an ATM instead of a teller, we blame the person asking.
So which ones would you remove, and why?

Additionally, you could just define which style you want let the IDE enforce it (or on check in).
We definitely care about folks in bootcamps, but it's a bit more difficult to arrange access for them. If you run a bootcamp, feel free to email education@github.com and we'll try and help you and your students out.
Um... better than backpacks, I'd say.
Like the alert box in browsers?