skysight-inc/HackerNews huggingface dataset:
We go up and down. We were at 10 a week ago. We've also been distracted with the new app.
This is going to come off as abit negative but I kinda feel it has to be said. I would first like to say I do love the Fractal tree indexing, very cool and could have alot more intesting usecases outside of databases (I'm thinking logical volume/block storage etc.. I'm always thinking in kernel land..)

The problem is that Mongo advertised itself as a database and wasn't one. Once you do that reputation of the product is dead forever.

TokuMX is a real database as far as I can see, MVCC, great indexing story etc.

By association TokuMX is probably not regarded as highly as it should be. Which is a shame but it's a people problem, not a technical one. People can very easily lose trust in a technology at which point it's effectively dead, it might take a long time to die due to lock-in but it's dead.

For instance I have recently started playing with RethinkDB over TokuMX almost purely because of Mongo association.

Now technically that might not sound like good reasoning but when you think about the kind of person that writes a database that doesn't fsync your writes by default and relies on the page-cache over doing direct I/O when building a database.. doesn't really inspire confidence in the network stack, the query planner.. or well anything.

If anything it makes you insistent on not having ANYTHING to do with that sort of codebase.

Just replacing the storage engine might actually be good enough, but restoring my trust in the rest of the codebase is almost a forgone conclusion at this point.
See: Poe's Law :)
I'm sure that most blanket strategy statements are false. It depends on what you're trying to do, or better yet, why you're trying to do it. Right? Each platform has it's strengths and weaknesses, and understanding how they align with your vision is a pretty handy skill.
I'm no expert in this, I just have a mild interest and it's really the boundary between the subcultures.

I don't understand how banksy would be cashing in on hiphop culture? I just see him as an artist using a wall as his canvas, I wasn't aware that was reserved for those with a hiphop lifestyle. Was it maybe the "this is my new york accent" piece that draws the association?

Also how do they know he hasn't lives a hiphop lifestyle? I think the same thing exists in London, I have a few co-workers there who seem at least partially attached to it.
I assert A, B, and C, yes. Banksy managed to simultaneously profit from, and socially comment globally using, a street medium. Paris Hilton was born with the looks and means needed to make connections and she worked from that, gaining notoriety through her lack of inhibition. I can see the comparison in that their trajectories were both unconventional to some degree, but beyond that, not much simularity.

If you haven't, I'd recommend watching the humorous Banksy-related documentary "Exit Through the Gift Shop". It's quite interesting and entertaining and not what you'd expect.
I don't see any visualization data other than a map. How would this even be possible in a decentralized protocol that does not publish originating or destination IP addresses?
Motion Seconded. To the best of my knowledge this is not an economically viable traffic inflation technique in todays ecosystem.

Possible, but not much value for an arbitrage savvy publisher.

Not going to name names, but a good deal of fuckery is afoot in under article link exchange widgets. You know the ones, the boxes with link bait thumbnails that show up on a good deal of popular entertainment sites. Dealt with a lot of fake traffic coming through from the link exchange network. It appeared other publishers were sending tons of fake bot clicks to our site, in order to give themselves a higher amount of free reciprocal traffic from the link exchange.
The Republican Party needs to kick out these guys who lie about how bad things would be if the U.S. were late on its sovereign debt payments. They are in the same category as the birthers. You can't have crazies in your party. They just cause the sane people to leave, then one day you wake up and the crazies are the majority of your party, and then you are in real trouble.
Not all graffiti artists practice on buildings. Plywood is cheap.

Of course, tagging in public, perhaps in a hard to reach place, is a separate skill requiring its own practice... I'd just prefer they did it after having practiced the tag in their backyard first. Like Banksy.
> In fact, a recent study of Facebook ads shows ads were 1,790% more profitable on iOS. This is extremely incriminating for Android and is the worst kind of news for Google.

I don't really know or care enough about the issue to have an opinion on the other points, but this one jumps out as kind of odd. Assuming the number is correct, is comparing Facebook ad revenue a meaningful proxy for overall viability of the platform as a money maker for, say, app developers?
I use GoSublime, it comes with GoCode so you get to know the method signature when the autocompletion pops-up.

Also in the settings of GoSublime, you can set it to run `go lint`, `go vet`, `errcheck` and `go build` at every save, and capture the output to put it in the guther. This way, you catch pretty much everything.
A Bloom filter, for example, would permit them to know this without retaining any searches.
Or more straightforward in Python 3.3+:

import ipaddress

print(int(ipaddress.ip_address('192.241.224.102')))
Topological light
Add them all up, subtract that from the actual sum of 1-250 and voila. Optimization bonus: you don't need to do the second sum, there's a closed form (I don't remember what it is, but I do remember Gauss came up with it as a kid).
App ranking is hard to keep up with.
I don't get it. Why does God always have to be so vague about things?
For one influential academic answer to this question, see http://en.wikipedia.org/wiki/The_Anxiety_of_Influence
"1" is going to match a lot of numbers that aren't 1.
Postgresql 9.3 added json functions.
This is a criminal matter, not a civil matter. It's just like if a guy punches me on the street, but I decide it was cool and edgy and added to the gritty vibe of the neighborhood. The prosecutor can still bring charges.
# arr must contain all of the numbers from 1 to k except one
# returns the number which is missing
def missing_number(arr):
return ((len(arr)+2) * (len(arr)+1))/2 - sum(arr)

I can't really talk about the article, since it is down :(

Edit to reflect edit in the parent: The problem as posed is not soluble in general. For k=21,

1 2 12 3 4 5 6 7 8 9 10 11 13 14 15 16 17 18 19 20 (21 is missing)
==
1 21 2 3 4 5 6 7 8 9 10 11 13 14 15 16 17 18 19 20 (12 is missing)

You can discover the missing digits in linear time, but determining from there whether the input has a unique solution seems a bit annoying.

If a valid permutation of the missing digits is missing, you win, but you can have a unique solution without that being the case:

11 21 13 3 2 4 5 6 7 8 9 10 14 15 16 17 18 19 20 1 (12 is missing)
Allow me to play devil's advocate for a moment...

Most of us, for fairly obvious reasons, decry the use of violence by individuals, yet we are all complicit in the use of violence by the state. Our democratic governments imprison and kill in our names both in war and for the enforcement of our laws. Sometimes (often?) wrongfully.

Why is our collective violence de rigueur but individual violence is immediately presumed to be evil and wrong?

Presumably use of violence by the state is intended to be "justified"; i.e. it is not random, emotional, or for gain (except, perhaps a societal gain of increased safety), but either for the cause of "justice", or for safety--and these calculated, functional properties with an aim of public good make the action acceptable.

The obvious difficulty of individual violence is the tendency for it to be emotional or for personal gain, or for a lack of rigor in establishment of guilt in the presumed crime of the victim. But if guilt has been firmly established, if the target of violence has, beyond a shadow of a doubt, committed heinous acts, then what is the fundamental difference? Isn't the elimination of a destructive force by an individual precisely the same in outcome as the elimination of the same force by a collection of individuals?

And in a thoroughly corrupt system which promotes, protects, and encourages these destructive forces--or a system which feigns to protect and represent its citizens (but doesn't actually do so)--mustn't the responsibilities of protecting and shepherding at some point eventually fall to the citizens themselves? Surely evil carrying your banner is still evil?

Now don't get me wrong, I'm no proponent of violence. I think (even) our government should commit considerably less violence. I think we generally need to scorn violence by the individual because of the likelihood that it be unrigorous, emotional, or selfish. But I don't know that the difference in emotional weight between "kill" and "murder"--that is to say "unlawfully kill"--should be so great. It seems to me that the philosophical basis for the two should be the same, rather than scorning one and supporting the other because it carries a badge.
It is strange that they claim to have implemented SHA-3 in hashlib.
The details of the padding and capacity are still under discussion, so no final standard has been published yet.
I think they make the city more interesting, and hopefully they inspire some taggers to transition from a name-writer to an artist.
> I just tested Samuru vs. Google with the query:

why is grass green?

Samuru clearly won in this case
I live about three hours away from D.C. and the suburbs where much of the government contracting takes place, and I'm going to make an offer that doesn't throw more of the tax-payer's money into the fire.

I will, at my own expense drive to D.C. and spend two days of my vacation evaluating the architecture of the failing system, and spot check the source code quality. Additionally, I'll add the project to my Sonar source code quality analyzer so that there's a focus on what code isn't up to industry standards and which sections should be addressed first.

It's still astounding to me that we spent $700M on such a pathetic LITTLE system ... there simply isn't that much code to write. If there are others who'd like to show the government how it should be done, I'd be happy to start an open-source project to rewrite the whole project, as well as a CI/CT/CD/CM system to make sure that the code is maintainable, that changes are delivered in a reasonable amount of time and that servers are constructed and clustered in a consistent way.

This really isn't rocket science (and it's a good thing ... there would have been deaths).

EDIT: If someone in the government a) reads my offer and b) is willing to let "the industry" voluntarily help, you can contact me via the e-mail address on my profile page.
That's a nice aphorism, but it's too vague; obviously we wouldn't condone artists breaking rules against child abuse or murder. Figuring out where to draw the line is the hard part.

One could argue that if an artist breaks a law to make a statement (about either the law itself or wider sociological issues), then your perspective of the morality of the act could be influenced by whether or not you agree with the artist's statement.
10.0.0.1 or 0x0a000001?

4.2.2.1 or 0x04020201?

Mostly readability and speed of typing, I would think.
Add all the numbers in the list up, and then subtract that value from the sum of 1 to 250. That value is the missing number, in O(n) time and O(1) space. This only works if all the numbers are only written once though.
The study suggests that people take actions on iOS and not on Android. Since most of FB's mobile ads are in fact mobile app installs, people are interacting and using the medium - 18x more on iOS than on Android.

It's just one ad related study but the magnitude of the difference is staggering.

(author of original blog post here).
I believe so especially for free apps. If your app depends on ads it makes sense. For paid it also matters because it means users are more likely to pay (however that is done).
> I'm curious to know when a person transitions from vandal to artist.

Asking for a transition point makes the assumption that they are mutually exclusive. But Banksy is by any reasonable definitions both a vandal and an artist. Hence Bloomberg is simultaneously cleaning up vandalism and destroying art. Whether you think this is a good thing depends on how you weigh these two aspects. Personally, I think it just makes his work more precious. It is the nature of the medium that his work is temporary.
How Google is Making You Stupid
Doesn't this only work if you have spaces between the numbers?
Google wasn't mentioned at all in the article, which is somewhat odd... are they immune to this type of fraud? Or at least more resistant?
or The Judgment of Taste
http://plato.stanford.edu/entries/aesthetic-judgment/#1
And this is a decent example of it being implementation specific.
One man feeds western media on Syria .. That's one hell of a fast-food: The Media doesn't even bother digesting it, but they don't forget to wipe with news-papers they produce and throw them to readers.

It's apparently a sport practised at the highest levels of Office. Kerry apparently will be featured on CSI with his "Sarin" hair samples he pulled out of I don't know where...
"a man who wants to assert his ego, against others and the state, vs a man who entertains the middle class with whimsical, nostalgic, left wing drawings"

I'd argue that Banksy achieves both - his work is treated as acceptable because it carries a reason for saying "fuck you" as opposed to an indecipherable personal logo. And that's the line for what is considered destruction vs expression - value to others and not just yourself. Essentially your "fuck you" needs to carry a raison d'être.

The same could apply to saying "fuck you" to someone - if you can at least explain why you're saying "fuck you" then you might not get punched in the face.
If you live in an iOS world, you'd think all startups or apps have gone iOS first.

As an Android user, I have been witness to a number of startups who went Android first and found success.

Why? Because they ignored advice like this post. While most developers focus only on iOS, some developers filled the void on Android by building apps Android users want.
I personally don't think this post is a serious compilation of question that get asked at Amazon considering the stature of the company nevertheless i think an interview at amazon will never be complete without rigorous test of candidates problem solving skills and/or the specific capabilities that he is applying for. Also the kind of questions that are mentioned in the article are the kind of questions HR's ask to confuse the candidate and the sole purpose of these questions is to check the candidates presence of mind and how he tackles those questions.IMHO Amazon is a great company to work at there is no doubt in that.
There have been several responses to your requests to move to cloudflare. You have ignored them.
We tried monetizing our app in the real world with only being on Android and people were saying that's nice and all, but you guys are not ready yet if you're not on iOS.

The benefits of faster iteration on Android are still strongly outweighed by the disadvantages of not being able to tap into the 3 times more engaged iPhone user base.
Why are there no consequences for this epic failure? Someone should go to jail for lying about the costs and the schedule. Many more should get fired and no longer permitted to work on government projects.
Why is that odd? I don't think the Python community is mostly OOP purists.
You could start with this map: http://en.wikipedia.org/wiki/Speed_limits_in_the_United_Stat...

It doesn't need to be precise - it just shouldn't encourage reckless, illegal behaviour.
Why I Jumped Off the Ivory Tower
Mountain biking has plenty of downhill segments. In fact, there is an entire category of the sport conveniently named Downhill.

Downhill racing can definitely be dangerous, but it is my belief that the people who do it are much more experienced than your casual "let's go down this road really fast" amateur on a road bike. Looking down a downhill mountain bike track and set off at full speed takes guts, and no one in their right mind does it without knowing the trail.

Also, there are no cars on mountain bike trails.
If no one replies with a good answer, then your best bet might be https://github.com/clojure/clojure/tree/master/src . (I acknowledge this isn't really an answer to your question.)

I will try to find the implementation of protocols in here for you...

Edit: a start might be 'defprotocol' in https://github.com/clojure/clojure/blob/master/src/clj/cloju...
Banksy is adept at leveraging the Streisand effect.
This is the result of primaries decided as a result of gerrymandering. All aboard the crazy train!
What is the difference between google wallet and google checkout again?
andrewcooke supposed the numbers were not separated by spaces so

1727321173475

could be 1, 72, 73, 211, ...
or 17, 27, 32, 117, ...
or 172, ...
The problem with WYSIWYG is that it solves the wrong problem. Sure, what you see is what you are going to see, but that's irrelevant. What you care about is being able to change what you see. And that is tied up with all sorts of invisible context that you can't see.

Good interfaces tend to be based around the principle of least surprise. But in a typical WYSIWYG editor it is commonplace to be in a situation where you don't know what will be produced when you press a key or press enter. The purpose of tools is to bring complex problems under control. To make a bridge between the underlying problem space and a set of controls that are intuitive for a user. WYSIWYG does a poor job of doing that.
If there were spaces between the numbers, yeah. Here's the difference:

1 2 3 4 5

12345

At this level it's no big deal. What happens when you get to double digits?

11 12 13

111213

Now what happens when they're not in a nice order?

5121892178
n(n+1)/2
I think this is very much a question of what market you are targeting.
According to gs.statcounter.com Europe has 44.87% Android and 38.9% iOS market share, while US has 52.5% iOS and 39.6% Android. I think this definitely makes a difference in what is most profitable.

And saying that iOS has nicer tools is simply not true. Eclipse is arguably a lacking IDE, but Google has since switched to the IntelliJ IDEA platform, which I consider even better than the often highly praised Visual Studio. It's code-completion reigns supreme.
Any chance on adding: Why is hacker news so slow?
We need to segregate data from presentation.

Sorry, but I don’t buy that. The very best presentation is almost always customised to the material it conveys.

We try to separate content and presentation as a compromise, partly because it’s too labour-intensive to craft a bespoke presentation for every little job, and partly to separate skill sets because someone can be a great author but suck at design. But it’s still a compromise, and someone who both knows their material and knows design will often be able to create a more effective presentation of that material than they could if they were constrained to some pre-determined, standardised box of presentation tools.

By the same principle, it’s not necessarily an advantage to let someone viewing that content customise the design arbitrarily, because it’s almost axiomatic that such a person isn’t yet an expert on the material. They don’t know which ideas are the important ones that the author wants to build on, or which relationships in the data are the most enlightening ones to explore. A well made presentation, created by or in collaboration with a subject matter expert, can direct the viewer through the material in a more considered way.

To me, it makes no more sense to use a medium where the viewer has to make presentation choices than it does to send them a few spreadsheets of raw data and let them write their own content or plot their own charts.
I mean that a PC motherboard is a specific type of "mother board", which is a board into which one plugs "daughter boards", aka expansion cards. I have vague recollections of this terminology being used in the late '80s to describe machines with upgradeable processors, and have thus imagined that this is where the modern sense of "motherboard" comes from. But it was 25 years ago or more, so my memory may not be accurate.
Let us stipulate the basic sensibility of your question, and consider its necessary consequences, disregarding the essential imprecision of a term like "angels" for the sake of interesting discourse.

We have, then, "...governments and religious institutions actively engaged in telling us we are not [angels]". We may presume, from the fact that this behavior persists throughout human history, that these agencies see some concrete benefit in so doing; while of course one may find individuals and institutions acting against their own interests, such behavior cannot lend itself to survival across centuries.

Were all humans angels, would those who constitute these doleful organizations see such benefit? I find it doubtful; while "angel" is not properly formulated here or anywhere else, we can assume from context that the cardinal quality of such a creature would be a perfect altruism, one to which gain of self at expense of another would be not merely distasteful but insuperably repellent, if indeed conceivable at all.

The necessary conclusion, then, is that, while there may be some humans who are actually angels, all humans cannot possibly be angels, because no true angel would act in behalf of a scheme centered upon convincing other angels they were in fact not angels, to the real and significant benefit of the schemers.

We therefore find ourselves with the following dilemma: either not all humans are angels, and to have stable and effective government, we must find some way to rule which accounts for this fact; or, not all things which have the human semblance are human, and to have stable and effective government, we must identify and exterminate the unhuman creatures which beset us, down to the last not-man, not-woman, and not-child, in order that we true humans may govern ourselves, free of their blight, in whatever fashion our shared perfect altruism sees fit.

Perhaps you feel I have unfairly caricatured one of these points of view. If so, I commend to you a careful study of the history of the twentieth century, in which the latter opinion may fairly be said to have run rampant across large swaths of the globe.
everything in the article suggests they are looking to preserve this piece, not take it away from the city, I'm not sure where you believe your disagreement comes from, considering the inherently ambiguous definition of "ours". Thus far, the owner is out of pocket for security guards to protect the piece after someone vandalized it. In fact, most of Banksy's pieces have been vandalized, so sadly, it seems security is needed.
I would think you could start with assuming that all numbers are used, so you know how many of each digit you should see. Calculating how many of each digit you actually saw should give you a list of which digits were not seen. Then, you should have a much smaller search for the permutations of the missing digits. (This make sense?)

I'm ridiculously curious to know if there is a clever trick to this! :)
Closed form is ((1 + 250)* 250)/2

Once you know the actual sum, you can do it either:
sum all, subtract total - sum.
Or with data structures:
it would be a variant of the "given an array find all pairs of numbers that add up to a sum". The benefit of using the data structure approach would be that you can now find x missing numbers in the range 1 - 250.

note* the closed form might have a off by one error
Little cosmetic bug, doesn't seem to effect the results — http://i.imgur.com/ttof6iD.png