skysight-inc/HackerNews huggingface dataset:
Ask HN: Stateful Cloud Functions?
Sorry if this isn't a place for technical questions, I just thought the subject might be unique enough to start a discussion on the idea of a stateful cloud service if it isn't a thing yet.

But anyways, has anyone heard of a cloud function-like service that can hold state, i.e., keep ~3g of data in RAM on standby and scale up +3g per request? I don't think memcache is an option and typical boxes like DO or EC2 don't seem scalable at this level. Current requirements are only for 1 user and needs to scale to a few dozen later on..

The context, for anyone wondering, is a microservice on Google Cloud Functions that extracts data from news articles using CoreNLP. CoreNLP needs 2-3 Gbs of models in memory at runtime. Given that the microservice needs to process 100-1k articles per request, reloading those models each time just isn't an option.
The last really powerful/influential article that I can remember coming out of TIME is “Bitter Pill”, which was published in 2013: http://content.time.com/time/subscriber/article/0,33009,2136...
I would rather them just stick with Arxiv and then when they have something actually working practically, then post how it actually works. Sort of how Apple does it in their machine learning journal.
why was this down voted. as a career musician, I'd agree with this- but maybe not the transpose it into the same key part. Perhaps that is a piano related issue? (although f major is a horn player's key, so the key confused me) It is true that even world class professional musicians hate playing in certain keys because the key itself does not sit well under the fingers on a particular instrument. For example, the Tchaikovsky Violin Concerto sits great under the fingers of every pro level violinist, and that is because it sits great on the violin. That's why he wrote it in D!
This "finger wagging" is chronic in any article related to some kind of environmental change made by people. There's really no disaster here. Far more nuclear bombs were exploded in California. Far more rocks and soil were disturbed for construction, land reclamation, mining, canal digging, farming, etc. all over the world. There's nothing sacred about the ground which says we should feel sad or shameful about modifying it. I would say blowing up some islands just to see what would happen is fantastic for both fun and science.

People displaced? Being displaced isn't, on its own, a tragedy. I'm sure those islanders didn't become some stateless, homeless street urchins. They probably did just fine in their new home. I will probably never be able to live in my childhood neighborhood because I've been priced out of the property market. That's a common story, but so what? I have no complaints at all about it and wouldn't want to suppress other people's economic activity just so I can feel familiar about my surroundings.
This is not investment advice! I'm just explaining how it works ...

These days they have gone a bit crazy but it works like this, I would buy Jan '19 call options that are out of the money[1]. Looking at some that are 'fairly close' (closed at $315, options at $320). They are selling for about $55 [ibid]. So you buy a contract (100 shares) which costs you $5,500. Now if TSLA goes up during 2018 people will want to buy those calls from you for more than $55. Of course if TSLA goes down, or stays down all year then come January 19 you can either buy your 100 shares for an additional $32,000 (which you won't since you would lose money on that deal) or let the call expire in which case the person who sold the option keeps the shares and the $5,500 you spent.

But here is the fun part, if TSLA goes up 10% (315 -> 346), now your calls are "in the money by $31", and if you look at calls in 2019 that are in the money for $30[2] you see they are trading around $69. Which if you sold your contract for that would get you $6,900 or a gain of 25%.

Compared to the alternative of buying 18 shares at 315 for $5,670, and selling them when they went up 10% to 346 at $6,228 for a 10% gain.

Buying actual shares is the safer way to go because if you buy a call option you lose the entire $5,500 if the stock doesn't go up above the strike price! Buying the call options gives you an opportunity to leverage the volatility for a higher return.

I've observed there is a lot of 'passion' investing (rather than say reasonable investing) in TSLA where people buy it regardless and so it defies gravity and goes up anyway.

[1] http://www.nasdaq.com/symbol/tsla/option-chain?dateindex=7&c...

[2] http://www.nasdaq.com/symbol/tsla/option-chain?callput=call&...
What is your favorite tool? Agda? I've been finding it much nicer to work with, but the ecosystem is just not there yet.
Anyone know why the headline was changed on HN to remove the Koch Brothers?
It follows directly from his example. Inflation means that you need to invest your money into something (i.e. either use it directly to buy goods and hire people to produce a product or service and sell it, or else lend it with interest to someone else who will do so on your behalf).

In essence, an inflation economy is one where the only money that is not in immediate circulation is the one that is currently reserved for anticipated imminent transactions (i.e. the bills in your wallet, or in the cash register before the end of the day) - which is a tiny amount. Everything else is parked in some bank account, investment fund, stock etc, where it generates interest for the holder by being loaned out to someone else who currently needs it to produce.

So with some non-zero inflation, you maximize the utility of your monetary tokens as medium of exchange.
The salient part was that it takes five acres per swine. They only have two hinds each... And they can only raise them in two areas of Spain. Seems production is pretty constrained by resources (in this case land with oak trees). That combined with 48-mo curing makes it hard to scale up.

And we used to complain about almond production consuming too many resources (water) per output...
The key word being allegedly. I seriously doubt they have no agenda for Time.
I went the community college route, and I don't think I would recommend it.

It was very depressing, and I had to correct multiple mistakes made by my transfer department in order to successfully transfer. If you aren't strongly driven, you could end up in community college for many years without anything to show for it.

Looking back on it now, I would have gladly borrowed another $20k to skip that hardship and go to a good university for a full four years. My car cost more than that. It makes sense to pay for an education that will reap rewards far greater than the tuition fees.
how does that work exactly?
RESTAURANT BUSINESS PLAN Business Plan Articles
The title now is "In praise of Tesla’s bankruptcy."

Did Tesla file for bankruptcy? I'm confused. Nikolai Tesla filed for bankruptcy in 1916.

This is phenomenally irresponsible of TechCrunch generally, and Jon Evans specifically.
I am not quite familiar with the UK's parliamentary system but, I would assume you can lobby your representatives to eliminate the tax. So, yes, you can vote the tax away. I would be greatly surprised if folks can vote on Brexit but not a simple tax.
The author(Shaun) is very reasonable, as are the SJWs who expand on the vid in response to 'secretagentlucario'. But even after that user's efforts to discover what the problem in problematic is, they fail to make it clear. Everyone ends at "it's worth talking about", everyone denies wanting anything loony like inserting PSAs before videogames that want to use a 30s american animation aesthetic. What is there to talk about? I don't blame gamers for concluding those tweets were an attack on Cuphead; that's what 'problematic' is, an airheaded attack.
I love the OP's definition of "cheesy". Spot on and well said! Still, the article didn't really talk about how to write music in real time. Anyone at all can do this. It is simply improvising a collection of sounds.
The company's finances may be shaky, but electric cars aren't a "sci-fi promise with (an) unproven premise". The original Tesla Roadster came out in 2009 (or so), so there are 8-year old electric cars by Tesla driving around out there.
Shameless plug, I wrote a book that you can read and learn the first-year science essentials: calculus and mechanics, for the price of a 24 case of beer: https://www.amazon.com/dp/0992001005/noBSguide

You won't get a degree or anything, but the knowledge will last with you longer than the case of beer ;)
> as far as I know that purist interpenetration is not actually applied in courts

Well, you're right about that. In practice New Jersey can be forced to commit to go further than what they've agreed to. That doesn't make it right.

> People in Newark have self-determination in Washington; they elected those government officials too.

This is a bit of a distortion of the concept. If the UN started telling your country whether it could legalize gambling or not (totally unjustified by anything in the UN charter) and had a military to back this up, would you still feel like you had "self-determination" because you get one vote in the General Assembly?
I would think they would have their very own trade system if it isn’t just a government funded experiment. Although I predict it would take a long time to establish a trade system and one that involves cash or credits
Sorting Files for Better Compression
The backstory of Alexa’s Indian makeover
Show HN: Magical /whiteboard – Live whiteboard meeting with WebRTC audio/video
Give your family some credit. They could have sought out a casino somehow and lost their life savings many times over if they were as dim-witted and susceptible as you think they are.
Mahjong solitaire also started on PLATO:
https://en.wikipedia.org/wiki/Mahjong_solitaire#Computer_gam...
I believe it is because much of the ideas were already formulated, but the recent advancements in silicon tech, especially GPUs was a huge contributor.

Pair that will exceeding amounts of data being collected from/posted by users, you're got a great catalyst for major companies to be interested, which in turn lead to more research and refinement of old ideas.
"Soon we hope to falsify the strong Church-Turing thesis: we will perform computations which current computers cannot replicate."

Yeah, no. This is a ridiculous statement and it is embarrassing to hear it from Google. Quantum computers are not hyper-Turing machines, and there is no reason to suspect they ever will be.
Yes, there is.

I draw comics in Illustrator, and I have created files that are larger than the corresponding 300dpi TIFF. I think the first page in http://egypt.urnash.com/rita/chapter/viii/ is one of them, that dense setting at the bottom is super complicated.

(And it's a TON larger if I save the file as a pdf, Illustrator is doing a lot of high level abstraction to make this file smaller, that I’m not sure if SVG can handle.)
Besides this ham, evidently Chinese demand has been blamed for the global shortage of avocados [0] and the lack of butter in France [1]. I've personally most noticed the effect when it comes to wide-release movies, in which the heroes manage to find some reason to end up for a brief scene in China, or to use Chinese brand products -- Civil War, Transformers, and Robocop come to mind. There's also the suspicion that American movies have had to be more generic in their themes and dialog to be easier to translate/localize for the Chinese. Ghostbusters and Deadpool were not eligible for China's market because of their supernatural and otherwise offensive content, so it's not hard to believe that moviemakers will have to work harder to justify such content [2].

As an American, seeing these examples is still kind of amusing to me in a karmic way. I assume whatever annoyance or alienation I feel is just a small bit of how the rest of the world has felt the past 50 years, having to regularly adapt to
and adopt strange influences and demands because they were popular in America (Sorry about "Jersey Shore", high fructose corn syrup, the backlash against MSG, and the cocaine trade).

[0] https://phys.org/news/2017-05-china-blame-global-avocado-sho...

[1] http://money.cnn.com/2017/08/09/news/economy/butter-shortage...

[2] https://www.vanityfair.com/hollywood/2016/08/did-you-catch-t...
sorry meant "static site code"
A lot of these are logos that I had assumed to be registered trademarks. As such, they would only be usable under the terms of a licensing agreement with the owning company, terms which I had assumed would be pretty anal-retentive regarding the exact details of the representation. IIRC, Facebook has a specific art package with specific image files that one is suppose to use, and no other.

On the one hand, this is pretty common knowledge. On the other hand, none of the responses so far have brought it up, and the logo website itself seems to think that the cited sources can license the use of the artwork in question. I do not quite know what to make of this.
I know it's not entirely the town's fault because sometimes people make mistakes, and hindsight is 20/20, but some of that is the fault of the local government. Houses without solid internet access are way less valuable on the market. A lot of local governments are filled with people who have no idea what they're doing and end up really hurting their community. So if this is bothering you, you should get involved.
Isn't lower density animal production a good thing?
Right. That we talk about consciousness suggests that the physical drives have feedback of the perceived experience and are able to make determinations about it which is experienced again in perception as thoughts.

I firmly believe that most if not all interpretations of the 'world' is processed and complete before it even reaches perception. How I recognize objects, how I feel at the moment, and my literal thoughts themselves. But I cannot deny that the brain activity that processes stimulus into interpretations into perceived experience is also very aware of the perceived experience.

Perhaps it's as though our brain has a functional programming style in that various stimulus is operated upon somewhat independently by different regions of the brain, but the operation of synthesis takes the previous perceived experience (that is, the output of the previous synthesis op) as part of the input along with the various outputs of newly processed stimulus to create a new synthesized state that has reliable continuity.
A shortage of one very specific, high end, type of ham, yes. Similar to "wagyu beef"...brand/status/scarcity.
We've corresponded before. ;) I tried to get him on a podcast once, but he's not big on them. Maybe someday!

(This is unrelated, but loads of people find it very difficult/intimidating to reach out to people who do interesting stuff. I love shooting emails to people who've done stuff that I find awesome and just about everyone is responsive and extremely gracious.)
It's been used in the past to deliver television signals via surplus B-29 bombers: https://en.wikipedia.org/wiki/Stratovision
Thanks for pointing that out!

I like where your thoughts are, there is a version of this combination where I live, where most large bookstores will partner with Starbucks and have a cafe in-house. I sometimes buy a coffee just to sit for a while and read.

If I can validate the demand-side, the next step could be to allow users to rent their own libraries to increase the variety available.
Of course he's horrified. The whole point is to obviate the regulators.
It's usual to declare where you are staying, it isn't usual to have to register with the local authorities in every place you do. I do accept it, countries have different rules and cultures. Foreigners do end up breaking such local rules when going abroad, including the Chinese. But doing so shouldn't result in being banished from the country. Imagine driving into Austria without a toll sticker and no longer being able to get a Schengen visa. Of course we don't know the full story. Hopefully this is more about the authors situation than something that will become commonplace.
For what it’s worth, JPEG is great at reproducing photos and terrible at reproducing sharp color translations in "simple" logos.
Hard to do that yourself when you're 94, don't know how to use a smartphone, and have Alzheimer's

I never called them dim-witted in a mean sense, I mean that when you are old you aren't able to think with the same mental acuity as you once could. People with Alzheimer's or that are beginning to grow senile really are like children, and they are susceptible
There is always going to be a sweet spot where you have enough inflation to convince people to invest their money and not so much that they dump the currency altogether. That sweet spot could be zero. It could even be mild deflation. For example, Japan has been mildly deflationary for a decade or more (though it isn't reported that way, and I think it's a problem). It's not necessarily that bad. With a decreasing work force, one could even argue that right now there is no point to having inflation because unemployment is as close to zero as it's going to get. It really depends.

My point really was that you would never intentionally build a modern economic system that was deflationary. It doesn't make sense, except in some limited circumstances. You will almost always want it to be very slightly inflationary to encourage people not to sit on cash. Exactly where you want inflation depends a lot on the situation, so it's not a one-size fits all.

One thing that's interesting to ponder on is that money is always out of sync with goods and services. So you do some work and get paid. That money should be worth something. But imagine the situation where everybody did a bit of work, got paid enough to retire and then expected to be able to spend their money at the same time -- there is nobody left to work, so they can't spend the money. The system actually requires that people spend pretty much all the money they make because otherwise nobody needs to work for the next round of goods/services. Accumulation of wealth is actually a serious problem for society. It's one of the reasons you have many people encouraging high birth rates and/or immigration so that the population grows -- it keeps your money valuable by having something to spend it on. Now this seems to be clearly insane, but I think human society has a long way to go in terms of giving everyone a comfortable life while still encouraging the work necessary to provide that lifestyle.
I've switched to another exchange because of this.
It's also a matter of priorities,
I'm currently "poor" by the definition of the (western) country I live in, but can afford quality food by choosing to prioritize it.
The law, that as the top comment to the article points out, is on the back of the immigration card in English that you fill out when you enter.
It rides on a Comms act of 2003? So it would be more difficult to have overturned than voting out your MP or Party (PM).
Suppose there is an increase in oil prices. That means the US now has to spend more to satisfy domestic demand. That invariably results in devaluation of the dollar. If this becomes extreme enough, US boots march into the middle east and "make things right" again.

Another example. Suppose a bunch of terrorists crash a couple of planes into a symbol of American economic strength. Again, US drones and boots on the ground would fuck up whatever corner of the earth that needs to be obliterated in order to restore people's faith.

These two are very direct actions, but most influences are far more subtle. What happens if China tries to manipulate US currency using its vast dollar reserves? It won't, because within hours a couple of aircraft carriers would show up inside Chinese sea waters. Just the existence of capability is enough to deter China.
Or Brainfuck. It's fun and only takes half an hour or so.
Yep. If you get out now, maybe you're a genius, because it crashes tomorrow. Or maybe it goes up to $30k on continued hubris, and you're the dumbass that sold early.
This is a great policy, all exchanges should adopt it. If you can only buy bitcoin and only miners can sell it, everyone will make a lot of money!

I’m kidding, of course.

BTW- it takes about ten days for a new account to buy bitcoin in Coinbase— we are having a post thanksgiving rally... it may continue for another 5 days.
Coming at it from the other end, I'm pretty sure that if my experience with Jeff's games was Geneforge and Avadon, I'd think they were terrible. I don't enjoy the gameplay pretty much across-the-board and while Jeff can tell a good story I don't like having to chew my way to it.

On the other hand, I literally grew up with Exile, Nethergate, and Avernum (1-3, I'm not as hot on 4-6), and I will give that guy money for all his stuff (I will buy the Avernum 3 remake day-and-date, and it'd have been the only game I've preordered this year if I could) just because those work for me so well.
I too was skeptical. Is there any computation that a quantum computer can perform which cannot be simulated by a classical computer with an RNG?
I don't think this really does a great job of selling Pure as a solution to a problem. It's sort of saying "Well, you can kind of use Pure for anything, even GUIs!".

I'm sure there's something Pure was designed to solve which could be brought forward as something it solves beautifully. It's not really obvious what that is from this text, though.
Ask HN: Bitcoin about to cross $10k. Still a skeptic?
Now this is fantastic! I started a company to build a platform specifically for local intranets like this to run social software. We should get in touch and help their Apps program.

https://qbix.com/communities

I am very happy to see communities building their own intranet software!
Cordray's successor sues Trump administration over Mulvaney's CFPB appointment
Well, moderation, as they say. In this case vast amounts of land are used to produce little product. Not sure how efficient it is. It suffers from "scalability" which kinda results in scarcity and then perception.

I understand wanting free range --but this is an artificial diet constrained to grasses and acorns --swine usually are omnivorous and would eat more, but this ham requires only those two --so they must dedicate lots of land to each hog.
Bitcoin effectively requires trust in a few centralized parties. The parties may not be set by fiat or syndicate, but the extent to which Bitcoin is truly trustless and decentralized in a way that is accessible to normal people is greatly exaggerated.
Yes lets take the word of self proclaim political activist when it comes to buying media companies
Eliminates duplicates too
> If people want it banned then they should be able, through government, to ban it

If this was put to a national referendum today, no more than 10% of the votes would be to ban gambling. People enjoy it and are overwhelmingly capable of grasping the risks. For those that can't, stay away or phone that number on the sign in the casino that puts you in touch with a gambling addiction counselor.

Silicon Valley has such a myopic worldview...Facebook and Twitter are much more harmful to the fabric of society than a one-armed bandit in Vegas.
He is a frequent political to Democratic candidates. Just visit http://classic.fec.gov/finance/disclosure/advindsea.shtml and fill in Gates, William, with Microsoft as the employer. Most of it's the Microsoft PAC but he also favors such luminaries as Debbie Wasserman Schultz, who torpedoed Bernie's candidacy.
Actually, I think global consensus is overused. There is no need to use consensus for most things. To achieve consensus at all costs you'd need to merge forks no matter how many updated happened in the meantime, which is usually not what you actually want.

See for example https://intercoin.org project we're working on. Specifically the Technology link.

Also see https://github.com/Qbix/architecture/wiki/Internet-2.0

As Einstein said, you don't need 100 scientists to sign something is wrong. If they could prove it, you'd only need one.

Same with gossiping a proof that some operation is not valid.