skysight-inc/HackerNews huggingface dataset:
The best strategy I've heard of is to start with bet amount x bet on black or red or odd or even. Then, if you lose double your bet. if you win start at bet amount x. Most tables have limits so you will run into a problem eventually. by double your bet you cover all your previous bets + you'll get bet amount x. What it allows you to do is win bet amount x like 99.9% of the time but when you can't double your bet anymore you've lost x + 2x + 4x ... It's also a sure file way to have lots of anxiety when you've bet on red like 4 or 5 times and it keeps not coming up. The funny part is mathematically it wouldn't matter if you switched bet from red to black or odd or even on each successive bet since each trial is independent. But somehow in our mind it's hard to switch.
You want a custom background image that's barely visible because of all of those blocks plastered all over it? And you thought this was good design?
Of course he is right. But he still completely missed the point of the article, which was not to defend writing or keeping code that is not self explaning. I mean, it's the goddamn premise of the article that you happen to stumple upon a piece of code that's less than perfect! The example in the article describes a situation in which you find a piece of code someone else wrote and you are unsure of what it does or why it's there.To even begin contemplating improving the code, you first have to understand it. The article is about how you can do that with Git logs. So that once you've done that you may proceed to improve it. And yes, extracting it into a well-named method is probably a good way to do that. But that, as I hope we've established, is besides the point.
If you think Ponzi schemes won't work if you tell people that they're a ponzi scheme, MMM-2011 was a Ponzi scheme in Russia that hooked people despite nakedly advertising that it was a scam: http://www.bloomberg.com/news/2012-06-06/is-global-finance-a...
Most of these savings could be accomplished by having the merchant withdraw the payment from your bank account rather than a credit card.

Frankly, I'm surprised that Amazon doesn't offer this service. Just take the money out from my bank, offer me the same protections as a credit card, and we split the credit card fee: 1% for you and 1% for me :-).

Used to be that violated their credit card agreement to charge more for credit card purchases, but looks like that's not the case since Jan 2013.
http://www.washingtonpost.com/business/capitalbusiness/as-ru...
PayPal.com redesign
How I turned my Chromecast into a $45 networked audio adapter
"Assuming consumers will be ok with only 0.5% in rewards"

And assuming they'll be OK with having ZERO chargeback rights in case the purchase turns out to be not-as-advertised and/or defective.

That second article (explaining why consumers would want to do this) best be a doozy, because so far consumers have had to swallow a requirement for them to provide a "mobile wallet", lower rewards, AND increased vulnerability to fraud all to save the merchant 0.375%.
> Transparent Bitcoin Ponzi scheme

needs more parentheses
Just tried sending .2, and got back .119 - so therse a bug or he's skimming. lol, anyway interesting to make this

https://blockchain.info/address/1MeDEWdpJRdSiRXaVFJK6b6m7Bv2...
I'm sorry if that's a grammar mistake. I was trying bring my own idea out without saying that Dong would actually do it for PR. So yes, that's me speculating.
>> You've washed your brain and I am done with you.
>> Of course nobody speaks of oppression. Except the ones who do and spend time in jail for it.

Sounds more like me being done with you, honestly, but farewell (and good luck supporting non-existent jailed public homosexuality evangelists) :)
It is either a scam or very poorly coded. I've seen one transaction in the blockchain for 7BTC from yesterday that hasn't been paid. But, people sending 0.01BTC today are being paid. Any proper Ponzi scheme would pay back in time order, not by order of value.
Or totally empty commit messages.
Investing stock of Social Media
Check out this BBC documentary on Chimpanzees: "http://www.youtube.com/watch?v=gTeLsEGPjdU". Watching it was an experience that forcibly reshaped my world-view about our place in the World.
The phase says when the op issues. It takes some number of cycles before it retires. So an divide issues in the "op phase" in the second cycle, and if on the particular Mill model it takes 4 cycles then it retires on the fifth.

If there is a mispredict, there is a stall while the correct instruction is fetched from the instruction L1 cache. If you are unlucky, it's not there and you need to wait longer.
Really sucker ? Just because he is not from America so you are suggesting to make clone ? How creative of you ?
I am reading many comments here and some people really need to get a life.
So he became famous, his game appeared in top charts doesn't mean you should start to hate him.
If you are so genius why you don't you create something yourself ? something novel ? You also have all opportunity , (including whatever tricks some are saying), time. Let people decide what they like and not. Again, stop the hatred.
If you've been following what's actually gone on in the Bitcoin world for any length of time, you'd know that "BTC investors" aren't "more sophisticated" - they tend to be less so.

For one example, take a look at the people in the community who claim BTC exchanges are unregulated, and who "invest" in "stock markets" in BTC and the like: Just because you're not following the law or regulation doesn't mean you're not subject to it. It just means your hoping you don't get caught.

Another example? The pirateat40 Ponzi scheme and the creation of "Pirate pass-through" schemes. He claimed to offer 7% interest WEEKLY and Bitcoiners ate it up despite its obvious impossibility. And again they tried to securitize that by selling "shares" in and/or "insuring" their investments, and so on—all without acknowledging there's any form of legal or regulatory process to go through when doing such things.

Bitcoin is a total clown show, the history of economics repeated in fast-forward so anarcho-capitalists/libertarians can learn first hand why laws and regulations were invented.
To be technical, there are multiple inaccuracies in "Get 120% back when the next person sends".

First, as per the central problem of Ponzi schemes, it is missing an "... if ever" at the end.

But further, it is oversimplified, because people can submit different amounts of bitcoins. Covering up that uncertainty -- which while apparent is not as clearly disclosed as the "Ponzi" aspect -- makes it harder for people to assess the likelihood they will get the promised return.
Something is not quite right.

Deposited 0.05859407 BTC ( https://blockchain.info/tx/c5411ae7ad41d6dab5dd879c158cb81f0... )

Recieved 0.0599 BTC back ( https://blockchain.info/tx/ef7f32df518dabb104812ea4a12719026... )

1.2 * 0.05859407 = 0.070312884 BTC

So, somebody owes me 0.010412884 BTC
>"Don't think at your desk"
Personally it helps me a lot , I go for a small walk alone and it helps.
This is really cool! I'll try it out.

Thanks for sharing :)
Why don't you cache $weekends though? Given that you're constantly recalculating it, it probably has a serious performance impact?
Shouldn't we be asking what the savings to the consumer are?

I use my credit card all the time for 2 reasons: 1) fraud protection and 2) reward points.

Interchange fees paid by the merchant are essentially being passed to the consumer via reward points. Why would people switch from credit cards to bitcoin en masse?
He can let me take the heat for him. $40k a day is all I charge.
I haven't read the source for the linked library yet, but could you just have javascript in your pages that hits a /gen204 page on your site when the DOM is ready ? Then the preloaded page will only hit the /gen204 if it's actually rendered. Then just count the 204s instead of 200s.
Various external forces have prompted me to re-assess some of the things I spend time on. I have spent a reasonable amount of time on HN and I've learned a great deal, but more recently I've felt that I'm seeing the same things over and over again, or things that genuinely have no value to me.

Note that I say "to me" - I'm not judging anyone else - different people have different interests and different goals. But I'm starting to question my time here.

As part of that I'm wondering if maybe I'm just missing the point, and that skimming the front page and skimming the newest page means that I'm missing what really matters. As part of trying to work that out I'm looking at what the HN community thinks is interesting and important. And this thing about Flappy Bird has me baffled.

So to answer your questions:

* it's not so much that I care what HN cares about, I'm just trying to work out if I'm missing something;

* no, not everything has to be a learning experience, but HN isn't especially entertaining or relaxing, so if it's not educational, it's of negative value to me;

* and maybe this thread is a waste of time for you, in which case why did you take the time to contribute to it?

So, just thinking out loud, trying to learn ...
5-6 meals helps burn fat is broscience.
Ponzi schemes aren't OK. They're a form of theft, both immoral and illegal.
Or copyright reform. Actually, I'd prefer that.

A syndicated content payment system (not micropayments) is another option.
It's not noble to waste opportunity like that. If he doesn't like money, he should take the money then give it away. A lot of poor people would kill to have that money to feed themselves and their families, or send their kid to school - if he feels so inclined he should take it and give it to them. If not, he's wasting a huge opportunity to either be very rich or very charitable out of some poorly thought-through righteousness.
Actually your site works just fine without javascript once I get rid of that annoying 'this site does not work without javascript' message.

Edit: the site. Honestly I meant 'your' as in the site owner. I'm just annoyed by sites that block their content that loaded just fine because I'm not running javascript.
>If you've been following what's actually gone on in the Bitcoin world for any length of time, you'd know that "BTC investors" aren't "more sophisticated" - they tend to be less so.

Part of this is Bitcoin self-selects against those with a rigorous understanding of monetary economics, capital markets, and foreign exchange.
You and pikachu_is_cool are boggling my mind right now. The guy is having a moderately high amount of money coming in for him now, based on something he did out of passion. There is nothing wrong with money for stability. If you don't like it, give it to charity... or save for health issues, because we all now realize just how pricey a scrape can be in America.
Twitter is such a shit platform to convey ideas and motivations.
Judges in the common law tradition are also obliged to apply the law as written (whether they like it or not). The expression 'interpret the law', when referring to a judge's duties still holds its original legal meaning and intent of simply reading the law as written. This sense of the word 'interpret' came from a time when literacy was rare, and reading was seen as 'interpreting' mysterious symbols on a parchment. Judges do have legitimate leeway to 'interpret' in the modern sense when it is not clear how the written law applies to a given case, but even then they are expected to do this in good faith: they are expected to make the old law apply to the new situation, not to make new laws (i.e. judicial activism), which is outside of their remit.
I think "when" is perfectly precise, and includes the "... if ever" meaning.
You are right, and I also am glad that people come around from their earlier ignorance.

I wish to amend #1. There exists a clever hack that allows any media type to have hyperlinks. Let's take text/vcard as an example, it's a nice existing standard that can be used as representation for, say, a user. (Let's ignore for a moment that a special XML serialisation and the XFN microformat exists, so that the vcard semantics are embeddable into HTML.) It can be augmented with RFC 5988 Link headers:

GET /user?id=123 HTTP/1.1

----

HTTP/1.1 200 OK
Content-Type: text/vcard
Link: </user?id=123>; rel="item self"
Link: </user?id=122>; rel="next"
Link: </user?id=124>; rel="prev"
Link: </user?id=1>; rel="first"
Link: </user?id=9000>; rel="last"
Link: </user>; rel="collection http://example.org/rel/foobar_users"

BEGIN:VCARD
VERSION:4.0
…

You see, this works for any resource even when the format traditionally has no (inline) hyperlinks, e.g. image/gif. I also like to replicate inline links as a Link header because it allows an UA to traverse resources with the HEAD method alone.
Why would there be any leftover? If creator isn't flat out stealing (which is a possibility, but obviously illegal and risks penalty), all payins would go to payouts.
> Interestingly I lived near Roubaix for a while and never noticed a data center :)

Then you may be interested in this thread: https://lafibre.info/ovh-datacenter/data-center-ovh-roubaix-...

They also have datacenters in Strasbourg, Paris, Gravelines and Montreal (Canada), but I am not sure if they host part of the hubiC service there.
No more Flappy Bird
Ask HN: How can I improve my note-taking web app?
I'm surprised no-one's mentioned Replicant, which "aims to replace all proprietary Android components with their free software counterparts"

http://en.wikipedia.org/wiki/Replicant_(operating_system)
For me, it's the design of Metro UI.

I remember the first WIMP computer I had (well my dad had) an A5000, with 4mb of RAM (this had to be soldered on, and was considered wantantly excessive). If I wanted 256 colours, resolution would suffer as it lacked VRAM.

Windows 98 had gradient title bars, I this was a big deal. I remember being impressed by how smooth it looked. I wasn't completely used to high resolution, high colour systems.

Metro shuns this, information is put above anything else, the fact that I only want to see my mobile signal if I've a problem by default, it is hidden unless I have none.

It doesn't take long before this really starts to make sense. I'm tired, I don't want to be bamboozled by information, I want important stuff put up above anything else.

It's exactly the same reason Web Browsers have 'hidden' away the lesser used functions. I type this on a desktop with 2 * 30" of screen real estate, yet I still want my browser to hide the file menu, have no favourites bar, not waste space for the tabs and the title bar. You get where I'm going with this.

I also have a few Android devices, and a iPad, I find it almost tiring to use them in a way, I'm no longer impressed by having a 3d glass effect or similar, it just impedes my usability. I don't like skeuomorphic patterns, I'm an veteran user, I don't need familiarity, I want information presented as effortlessly as possible.

That said, I hate the lack of a notification timeline. I am genuinely saddened to see how Windows Phone team appears to have lost their release cycle momentum (three years ago major features came fast and frequent, now... not much).
Doesn't seem to be working very well on Nightly for me
good news. I hope that new sync feature will work seamlessly and efficiently - I disabled sync about a year ago because browser became sluggish with large number of bookmarks.
I think the completely honest thing to do would be to show another number (total sent * multiplier), explaining that if you send now, you will get the amount back when the total counter reaches that amount.
I found this at https://bitcointalk.org/index.php?topic=447831.80: "Actually, I set it up to prioritize the small transactions. The 1 BTC depositor will have to wait a while, and everyone else will get paid out as soon as their transaction confirms (this makes sense since the 1 BTC guy is making more money anyway)." Clearly doesn't understand the concept.
Don't do this in real life. Putting session IDs in URLs is not a good security practice. (Session fixation. Users might try to share links containing session IDs. Session IDs leak out via URL history and referrers; URLs show up in the darndest places.)

Roy Fielding thinks that server-side sessions violate the REST constraint. https://groups.yahoo.com/neo/groups/rest-discuss/conversatio...

Some people (maybe you) think he's wrong; why can't sessions just be a resource? (And this just goes to show that nobody knows what "REST" really means, and that this question doesn't matter.)

But if you're willing to treat sessions as resources, there are good security reasons to use cookies to refer to them, ideally in addition to a separate non-cookie ID parameter, to prevent CSRF attacks.

Cookies have some performance benefits, too: they can save you round trips to the server. If I want to display fresh personalized session-specific content on my /home page, why should I force the client to download a generic /home page, then download my JS, then run an AJAX request, when she could just send a cookie in the initial request for /home and get back an (uncacheable) personalized response?
http://www.alibaba.com/wholesale/categories/Mobile-Phones_50...

or

http://www.aliexpress.com/category/5090301/mobile-phones.htm...

depending on the quantities you would like to purchase
Can anybody tell me how you come I've sent close to the minimum and got almost 100 time more?
(this is not a joke, algo. fail?)
As I recall, part of the rationale, was that even if there was an issue, there was literally zero way for it to be fixed. So now you spend the next 2-3 days in the shuttle, "doing your job" knowing that you will not return alive. With that in mind, the though initially was, "let's just not check".
There are a ton of papers written about this field. I've been bushwhacking through them. Google Scholar is your friend in this. There's a good overview of procedural methods here: http://www.st.ewi.tudelft.nl/~iosup/pcg-g-survey11tomccap_re...

Thus far, I've been focusing more on procedural content generation/procedural -anything- related to gaming/storytelling. Togelius has a lot of good stuff.
cough-bullshit-cough
The point of the article has nothing to do with the code snippet. My point has nothing to do with the code snippet. It's just about code in general, and it's never as easy to understand as you want it to be.
> is about 2^-23. That's not good -- usually cryptosystems are designed to have a probability of failure between 2^-80 and 2^-256.

The failure cases are different though. Cryptosystems that require a strength of 80 to 256 bits are measuring their strength against an adversary brute-forcing or performing some other active discovery.

In this case, it's just the probability that two users will pick the same password and get the same salt. The attacker doesn't get to run many guesses, the database is just leaked 'as-is' and the hashes either show equality or they don't. So there is only a 1 in ~8mil chance that two in that group will show equality. Not bad for such a large population.

It doesn't then multiply up for each population. It's a sum since they are independent groups. Even then, the probability for each subsequent group will be vastly smaller as the population size decreases.

Finally, the only population at risk is users that chose such blindingly obvious passwords that they ended up in a large password population pool. These would be the same accounts that would be revealed almost immediately anyway since the obvious passwords is where any brute-forcing tool worth its salt (pun intended) would guess first.
There was a Polygon article on HN recently about how the audience has no idea what it wants. It used Flappy Bird as the example, mentioning how it was an overnight success, but repeatedly slammed it:

"Not only is the visual language of Flappy Bird almost entirely re-appropriated from early NES games, but it seems to be engineered and designed by someone still learning how to create games. There are frequent slowdowns and animation glitches in the Android version but, more importantly, Flappy Bird has absolutely no sense of what indie game developers call "feel."

The hitboxes are ridiculously large, which is the source of much of the game’s difficulty. The flapping mechanic, while serviceable, is entirely ordinary. It looks and feels like a game design student's first project in their intro to programming class."

In other words: "Well, this product is a turd, but it look how many idiots are buying it!" If that was your pet project, how would you feel? Imagine if every news article covering your game did so by giving you backhand compliments. It would crush you very, very quickly.
JavaScript is classic worse-is-better.
Or you know, take the currency since this is a ponzi scam and ponzi scammers don't want to let pay-outs go to anyone but themselves.

Why is HN giving traffic to scam sites now?
That sounds shady. Unless that was explicitly agreed to before the purchase I don't think that would fly.
Cost of living in Hanoi is so high because of strict building codes. They have these towers, you see, and they constantly have to move them a floor at a time across the city, and the larger floors have to sit below the smaller floors, with a severely constrained workforce. It's a logistics nightmare.
Google’s $3.2 Billion Purchase of Nest Cleared by FTC
I sent them 0.001 BTC and got 0.00256 in return over two transactions. Something screwy is definitely going on.
I did not interpret the article as being git should be a primary source of documentation at all. I have a hard time seeing which part of the article implies that. I think he's just pointing out how it's another tool you can use.
Poll: What is your main focus?
Marketing, business, startups, entrepreneurship
Hardware, electronics, engineering, mechanics
Computer networks
Artificial intelligence, machine learning, natural language processing
Theoretical computer science
Cryptography, security
Physical sciences
Social sciences
UI, UX, design, art, communication design
This is an interesting, detailed, and well-written article.

Let me caution you though: in most applications, if you concede to an attacker INSERT/UPDATE/SELECT (ie: if you have SQL Injection), even if you've locked down the rest of the database and minimized privileges, you're pretty much doomed.

Most teams we work with don't take the time to thoroughly lock down their databases, and we don't blame them; it's much more important to be sure you don't give an attacker any control of the database to begin with.
Can you sync add-on settings?
Please justify the usage of the word "theft" to describe this if it is perfectly upfront about what it's doing. Surely you meant to say gambling.
The premise of the article is that you happen to stumble upon a messy piece of code and that the explanations related to it might be located into the source history. Yet the only reason why these explanations would actually be there is that someone would have enforced doing that as a rule. And the point of the counter-argument is that before enforcing this rule this same person should be enforcing a rule saying that writing messy code like that is prohibited.

In short, maintaining a clean code base has always higher priority than maintaining a clean log.