skysight-inc/HackerNews huggingface dataset:
The casino operators need to think about the law of large numbers.

If you have an edge, what you want is for a bunch of little guys to bet against you. Your certainty of winning against a million little bets is enormous, if you have an edge. And you do, because those games are made that way.

What you don't want to do is bet a few big bets. You might be smarter than me at guessing the outcome of an election, or a coin toss, or any other event, but if there's only one, you may very well still lose.

If you have a few huge fish, there's almost no point in having the little ones. Your outcome depends on the huge bets.

It's not just casinos who don't know this. I had a friend at a hedge fund complaining to me that he was allowed to risk ~1MM USD/bp on interest rates, but he sat next to a guy who was allowed ~50MM USD/bp. So everyone's bonus depended on the big guy, and everyone else might as well just not be there.

It's possible the casino simply considers the gambler's risk-of-ruin stop to be sufficiently close that they'll mostly hit that stop.
I'd question whether that is actually what happens when you open casinos, but I suppose it's beside the point, legally speaking.
Because very very few people vote for them, we have a defacto two party system in that voting for any other party feels worthless.

~2010 due to a number of factors a third party (the lib dems) gained a significant increase in votes on campaign promises centred around free university courses for UK citizens.

As no party had a majority, a coalition was formed between the conservative party & the liberal democrats.

The Lib Dems went back on every single thing they had promised and essentially forced a new generation of voters to either pick conservative of labour.
I'm pretty sure competitive advantage plays a role. Looking at myself and most front-end devs I meet, we tend to use Chrome as a primary browser in part because of the dev tools.

In my case I remember there was a point where I preferred Chrome's dev tools over Firefox' built-in dev tools as well as Firebug, and that played a role in my use of Chrome as a primary browser. Things may have changed, but here I am still using Chrome.

The downside is that I need to remind myself to properly test in Firefox and Safari and, to my shame, it has happened that I entirely forgot and the testing department ended up being that reminder.

Also, Could it be that another reason for dev tools' existence might be that browser developers use it themselves?
This is called Martingale and doesn't work out as nicely as it first seems.
One of the big differences: Mormonism was created in the historical age, there are newspaper accounts[1] of Joseph Smith and his antics. It's harder pill to swallow when your myths are concocted after the Age of Reason, rather than in the swirling mists of "the before time".

But, as others have mentioned, with only one exception, every Mormon I've met has been kind, honest, hard-working (with an emphasis on thrift and education) and polite. Whatever the nutty origins and strictures (no tea or coffee, but Diet Coke is ok?) of their beliefs, I have a lot of respect for the people who come out of the system.

1 https://www.jstor.org/stable/1893428?seq=1#page_scan_tab_con...
you do know that some SQL's are case sensitive for table names etc ?
Dell sells twice as many laptops as Apple does (making it the third largest vendor). They only carry a "stigma" in a very small echo chamber of Apple fanboys.
That's not a cost, that's a benefit. There's not one ad-supported site I care about that I wouldn't be willing to donate to. And I'd be ecstatic if Facebook/Twitter/Instagram/BuzzFeed/etc. went out of business.
Talking Bear Tells “The Night Before Christmas” Story
Enough with this job counting nonsense.
I've owned Roomba since the first generation, they are well built and fun to have around, they also sweep well, the hoovering is limited to dust, the back to home has never worked that great, but then my floors are not that flat so ymmv, given that hoovering is actually something that needs to be done this is a genuine time saving device, maintained well they last around 4 years given a new battery a couple of times, beyond that if you are careful not to let threads build up around the axles and occasionally hoover out some of the microdust (if you can find the hoover...) if someone you love does not have one, this is the time of gifts so...
Since learning it I've thought that REST is really aimed at humans. It's all well being able to navigate state but unless it knows what to do with a given state beforehand it's not much use to a machine, other than perhaps to gather data, in which case that data won't mean anything unless an intelligence interprets it.

Since written code will only ever do a defined set of operations most web Apis are fine being written in RPC style.

The only time I've advocated a RESTful approach is when there was a lot of public data being exposed and human developers may well have explored the data.

When an AI can navigate an interpret data that it hasn't seen before then things will get interesting
When an iPad is sold in Germany, does Apple pay VAT in Germany or in Ireland? (Serious question. I don't live in the EU.)
Google has an incredibly secretive culture. Secrecy was drilled into us time and again. When collaborating with external vendors, it was quite painful to strike compromise between corporate secrecy and sharing enough information to be productive.

After leaving Google, I'm always amazed at what I'm allowed to talk about with vendors. I'll start talking in my Google-conditioned non-committal cagey way, and a colleague will remind me that I'm not at Google anymore, and I can just say what I mean.
> The EU would be fine with Apple moving its money to the US and paying their fair share of taxes there.

Why would it be fine with this? Taxes are paid where the revenue is generated. If money were to be repatriated without tax to HQ's resident country, then all companies would be registered in tax havens and pay no tax. Apple is trying to play off the EU against the US - they ought to pay the due taxes in both jurisdictions.
Sure I can promise that!
I've had Apple routers as well. While above average, and not requiring restarts, it wasn't better than other premium (consumer grade) routers I've had. Of course, anecdata, but just for clarification:

Are you saying you never have any wifi issues? Even every other month?

I think the OP question touched on problems existing, but small enough for many to "accept them" as status quo, and him/her questioning if he/she was the only one bothered by them. I am one of those people too. Thus my question of whether or not you actually have no problems, or simply "no problems requiring intervention, other than waiting/reconnecting".
No one seems to have mentioned Safari's "Reading List".
Quick Start with Version Control and Continuous Delivery
This works but you don't need to lose all that many hands in a row before your stake is huge compared to what you stand to recover. By the 20th hand you're over $1M for the single bet and you've invested ~$500K to get this far, all to eventually win $1 per hand if you have the bank to cover it.
It's not about which app you used, it's about what server you connected to and when you did it.
It's not about you. When there is a claim of, say, systematic rape at a place, it is both understandable and really offputting for random people to say "I work there and didn't get raped." If anything, it comes across as kind of tone-deaf and toyish.
In the US the 'standard' service for new household installations is 100 amps, but there isn't anything unusual about 200 amp service.

So with the larger panel, a bit more than 40 kW.

And maybe 15 kW with the smaller panel if you want to be able to run other stuff. So 6.5 hours is enough to fully charge the biggest Tesla packs using a normal connection. Install a bigger service and you can do 200 kW in that time (I guess charging might slow down, but that's the facile napkin math).

It's also likely to be acceptable to only add 500 miles of range in the first night of charging.
In principle if you want to do the (withdrawal) balance check then you can incorporate it into a single query

UPDATE balance SET balance = balance - 100
WHERE user_id = 1 and balance >= 100;

Only problem is that you now actually do not know if the query did not update because of insufficient balance or because lack of user in the database.
My wife is a CPA and works for one of the "Big Four" AND her engagement currently involves auditing an investment firm in Ireland, and the EU.

After speaking with her, and getting her opinion, it seems most comments about this situation are rooted in too many arbitrary feelings without an understanding of how the tax law actually works.

The crux of this issue is that US has a global tax code while EU has a localized tax code. What EU is proposing is really interesting because, if they win, Apple would be taxed twice, once on the money that their holding company has in Ireland and again once that money is brought over to the US.

EU doesn't seem to care what other tax codes there are as their tax code is upheld by each conuntry in the EU and then there are EU panels that test for anti-competitive practices, etc.

This raises issues in soveirnty of Nations if EU can supersede their tax code. It also raises a bunch of ethical issues within the EU when a company (investment institution) is based in one country while investing in another.

To minimize the words written, from what I gather is this:

Apple's situation is difficult because their argument is that they did not create (IP) in Ireland so they do not owe full corp tax on holding their money there. However, they pay all sales, (current) corp, etc. tax for all of their products where the item is sold or employees are working. Hence, this tax isn't a sales but a different classification of corp tax. They are being asked to pay taxes as if they are an Irish company that creates or manufactures their product in Ireland. Not as a holding company that pays their standard tax rate. There a lot of semantics in that statement and it's difficult to reiterate the explanation without a full blown essay.

For the rest of EU, their tax code is a clusterfuck (for lack of a better term). Companies have to pay taxes in the country they do business + country that's their "Home". So an investment firm will have separate tax rates/brackets as the money moves acoss borders. This gets really complicated when countries are doing business outside of the EU but have their base there. There is also an issue with which currency the taxes have to be paid in (seems trivial except the exchange rate isn't stable).

By all accounts, this looks like a pissing contest between EU and US firms and their stance can have global ramifications that are not foreseeable. One interesting perspective my wife raised is that because taxes are paid in "home county" currency, manipulation of the market becomes a viable option for multi-national EU/US/Workd orgs to lower/raise their taxes paid. This seems far fetched but a tiny change becomes big money on something like 14B (I doubt Apple will resort to such tactics because of money involved).

TL;DR Apple pays taxes they are suppose to pay per Irish tax code. The money held there would be taxed if they move to US or if they invest/purchase items in Ireland/EU. Currently proposal is using a loophole within a loophole to attempt to double tax Apple (or any other company they choose to go after).
Bitcoin passes the $800 mark
I expect Google Home is much better with things like asking for Tesla stock since it already does this kind of thing for search. I tried your exact queries on my phone and they worked. People have also noticed that the Home device also remembers context, so you don't always have to repeat yourself.

So I don't think we can really generalize Alexa's failings to the entire space.
Lots of accusations there. The only thing I suggested is to use bookmarks, and imply that it's highly unlikely that in an audience as diverse as HN ALL of them, or the majority of readers are tech-savvy... Run a survey if you want.

I made a reasonable suggestion without an intention to offend people. Hacker News is about sharing information. I am sharing information.

You want to start your Monty Python argument clinic in the Hacker News comment section? I am not interested. Take your unreasonable accusations elsewhere.
Interesting, I'll have to investigate this, I've had other Asus in the past, but not those two versions. I'll have to check the chips on the ones I've had.

Thank you for the tip!
Awesome app, saves me so much time!
If it's sold by anyone inside the EU either physically or online Germany receives VAT at the German VAT rate.
Development for the Wii U has reportedly been needlessly difficult. That much is true, but I'm not clear as to what that has to do with the purportedly 'clumsy' Mario Run release (which earned them 14m USD in the past three days[0]).

[0] https://techcrunch.com/2016/12/20/super-mario-run-sees-37-mi...
Even so, if you can both adhere to "pull before you push, and use force-with-lease instead of force" the rebase workflow is possible too. However it's more of an abuse of Git rather than a use of it.
Forget about 'fiduciary duty'; it's just plain dumb to pay more taxes than what you minimally owe according to the letter of the law. It's literally giving away your money.
There are no decisions the casino makes in the game of baccarat where they could gain an advantage by knowing what the face down cards are. So there is no situation in which you could be "livid" as you describe.

I'm not 100% sure, but I'm fairly certain that this is true for every casino card game. As the casino is handling the cards the games are designed such that the card handlers can gain no edge by surreptitious looking at the value of face down cards.
Also this, from the guy who ported Valves Source engine to OpenGL: http://richg42.blogspot.co.uk/2014/05/the-truth-on-opengl-dr...

The vendors are Nvidia, AMD, Intel/Linux and Intel/Windows respectively. Yes, Intel maintains two completely separate OpenGL implementations.
With the #2 issue -- it would be nice if the drivers were distributed as a drivers only option rather than a mega-advertising option. It looks like AMD does this now with a 55MB version, but Nvidia still only has the ridiculous "experience" application in place of a simple driver package (300+MB).
The full behaviour may be a bit too much for now, but deciding which to use seems simple: it's how Android Intents already work. Apps register themselves for which kinds of actions they can handle, then the user gets asked which one to use, and can set a default.

> Alexa, we need more bread

< Should I order it through Ocado, Asda, Ebay or Amazon?

> Always use Asda for bread ("unless I tell you otherwise" is implied)
> But those stacks aren't stacks from a memory management perspective!

Yes they are, it doesn't matter who is allocating them, the kernel, or the program itself (which as I mentioned, also happens with POSIX threads).

> The data in them is heap data

No it isn't, not anymore than data in POSIX thread stacks is heap data. You do realise that the memory for POSIX thread stacks also comes from "the heap" (regardless of who is allocating it), and it's not from the process stack segment, right?

> their lifetime is plain heap lifetime

No, their lifetime is the lifetime of the function activation record, just like in C with POSIX threads. The lifetime of some value that lives on the stack is the lifetime of the stack frame, not the lifetime of the stack segment.

> and their memory management (which is what we're talking about and isn't at all trivial) is heap memory management (pretty much).

No, the memory management of values that live on the stack is stack memory management. Values live as long as their stack frame they belong to lives. Stack frame allocation is a pointer decrement, and stack frame deallocation is a stack frame increment (plus some amortised O(1) cost caused by copying stack mechanism).

The lifetime of the stack segments themselves does indeed resemble (or is) heap-based memory allocation, but that is true in C, Java, Go, and any other language, and doesn't matter (or, if you take the position that it matters, it matters the same in all these languages and environments). And allocating stack segments is trivial.

> It's just another way of abstracting objects via message passing.

??? Message passing!? Wat.

Edit:

> Let me take this to the extreme: [...]

If you invent new language implementations and change the normal definition of various concepts, I guess anything can be true in that particular frame of reference...
I think there's an opportunity for a simpler-to-use alternative CLI Git client. Something more user-friendly than the /usr/bin/git program we're talking about and more developer-friendly than the existing Git GUI apps.
Indeed they were all Debian based. It is my bias for familiarity — I regularly set up servers with Debian.

I'll check out Fedora – Thanks for the link. I wouldn't have thought to look at it.

Cheers
Yes, I just see this kind of arguments coming from quite senior level engineers every now and then. I see the reasoning that application/system level logic should be kept separate from the database, but aggregations are a good example in my opinion of things that database engines are good at, and also as the aggregated data does not insert any new operative data/transactions this should be mostly fine.
That's mentioned in the article as what tipped the casino off.
I wonder if Ivey would lost the game, could he request to get his money back because the game was "unlawful"?
I can't wait to be able to control my TV from one of these things. Much easier than hunting for the Roku app on my phone, since I've long lost the actual remote.
I've been using Chrome's dev tools for quite a while now. Can you tell me if Firebug or Firefox' dev tools have any features that I'm missing out on?
[Markdown metadata] Best way to update  from a markdown loaded via MCP.js
What is the best way to update my HTML tag `<title>` from a markdown page loaded via MCP.js ?

Here we have the use-case:
https://devachan.neocities.org/?p=2016/12/21/markdown_metadata.md

## Solution 1

Update the title with the file name.

Result:
markdown_metadata.md | devachan on Neocities

## Solution 2

Ask to the MCP author to add the metadata support, on top:

```
Title: Markdown metadata
Author: Sonya M.
Date: 21 Dec 2016

(After the empty line, the first document row is not more the title)
```

Result:
Markdown metadata | devachan on Neocities

----

Other suggestions?

Thanks
How many people are typically involved in this type of decision?
56 European Cities by Price: Europe Backpacker Index for 2017
Given that these cards could only give the player an advantage and never the house your proposal doesn't make any sense.
There's the difference between 'some' and 'all'. Ukrainian and Belorussian are 'some', not 'all'.

Language may have some local specifics - Serbians have Ћ, which all other Cyrillic-using languages do not have. You have І instead of И, etc.
My Roomba sits abandoned in our cellar. The side brush broke just after one year and didn't spin anymore. But the whole concept of the Roomba is flawed IMO. Our apartment isn't particularly complex, but it was impossible to leave the Roomba to do its job without first making the apartment inert. And inert means removing cables, trailing plant leaves and anything else from the floor. It also means setting up the lighthouses to prevent Roomba 'romping' with lamp bases. Unfortunately one of our lamp bases is badly scratched from where Roomba climbed on top and wouldn't get off.

Eventually we admitted defeat.

We bought a Dyson fluffy. It may need me to control but the balance between convenience and cleaning is much better.

I won't waste any more cash on these automatic hoovers until they have proper reasoning and decision making.
That implies that video games in general have not become significantly easier since the days of the (S)NES.
Heck, even in Europe they usually don't.
You need a bit of context around Ireland, too. Ireland has been suffering from a mass exodus of young workers over the last few years. At its height, 10,000 young adults a week were leaving the country. Nobody wants to live in cold, rainy mountains working as a miner or fisherman. The thought was that if they could attract some swanky tech companies, the next generation of workers would be more enthused about staying in the country.
5. There is a social media effect where the planet has billions of people and every single person who has a problem, socially talks about it, much as some folk monday morning quarterback football games at the water cooler. This leads to horribly inflated perceptions.

As an analogy from another totally separate yet strangely parallel hobby, back when social networking meant ham radio morse code radios, I can personally assure you that every ham radio operator who can not solder a PL-259 RF connector, can not crimp an Anderson Powerpole DC connector, or can not solder surface mount components makes certain via social networking (over radios, back then) that everyone knows they can not, and that makes everyone think no one can perform those tasks because negative reports is all they hear endlessly repeated. However the reality is all those tasks are pretty easy and problems are rare and usually its possible to learn how to do it correctly with little time investment.

None the less, its a common "design pattern" of social media / networking that once the numerical problem count exceeds, say, the tribal count number around 100, the entire population no matter how many billions will all "know" that problem is universal for everyone, while perhaps they're the only person out of billions not experiencing the reported problem. Meanwhile the reality of the problem is there are (billions minus one hundred) experiencing total success.

I'm just saying its a social networking or social media problem, not a wifi problem.
That is why I prefer the CTE approach.

Query 1 (in CTE): Verify all is correct and the current balance (and whether you have enough balance)

Query 2: Perform update and obtain new balance

Then return a summary showing the starting balance and end balance for the transaction (proof of what, if anything, happened).
Lightweight CouchDB CLI and API for efficient stream processing
Giving away your money for the common good.
> Low tax member states like Ireland have been under political assault for decades and this is the latest attempt to redress something the EU has no power over

The ruling explicitly says that there is no problem with Irish tax system if it is open to ALL the companies.

This is allegedly ilegal state aid because it is a sweetheart deal yo ONE company
> Low tax member states like Ireland have been under political assault for decades and this is the latest attempt to redress something the EU has no power over. If the EU wanted a unified tax regime across all members it should have been designed that way from the outset,

You're wrong, this is not about harmonizing tax rates. Ireland already has one of the lowest corporate tax rates which is 12.5%. However, through the Ireland deal/loophole, Apple was paying an effective rate of 0.0005%. Rectifying that is the point[1]. The EU specifically put these anti-state aid laws on the books decades ago, it's not new. Ireland will still have the ability to set their tax rates for all coporations

[1] http://europa.eu/rapid/press-release_IP-16-2923_en.htm
Well, I routinely `git rebase upstream/master` to keep my git history clean. It has the same effect as a merge from master, but keeps everything tidy.
> built-in parallel processing

Just FYI, Node cannot do parallel processing unless you are launching another node application from inside node application and listening to process.stdout which you are not doing.