skysight-inc/HackerNews huggingface dataset:
McDougall points out at one point that it's common for people to gain weight after their doctor tells them to lose weight and puts them on insulin. Insulin promotes weight gain.
Ask HN: Recommendations for choosing a serverless framework
Starting a new hobby project. It would be a HTTP API service with 10-15 endpoints. Would get a few 1000 hits for about 14-16 hours a day. Language preference is Golang or Javascript followed by Python (Flask).

Want it to be as less maintainable as possible in addition to low-cost, autoscaling. To be honest, not bothered about vendor lock-in, to reduce dev hours & cost. This is also an opportunity to learn about serverless architecture of development and so not doing it as a monolith.

Few reqmts:
1) Need to interact with a database, which could also be serverless (say aurora or firestoredb). Should have a reliable workflow for database migrations.
2) Should have an excellent offline, local development workflow. Should not expect me to talk to cloud for local development.
3) Should be easy to integrate with gitlab/github to do continous deployment
4) Should have support for multiple deployment environments (Production, Staging, Demo)
5) Should have well defined ways for .env files, ENV variables for reading sensitive info (API Keys)

Some contenders that I see (with first opinions on shallow googling) are:
1) serverless - Seem to be the oldest. Seems trusted by AWS
2) openfaas - Seems good. No vendor lockin. But not supported by either AWS or GCP officially. Not too keen on vmware cloud.
3) KNative - Still seems immature. By the lethargic pace in which GCP is moving (especially related to Golang support) I am not too keen on this. Not 1.0 yet I believe.
4) AWS Fargate - Seems like the best solution. No need to break every HTTP handler into an unit of deployment. Integrates with AWS ecosystem (cloud watch, vpc ...)

Bonus points for frameworks that support:
1) automatic code structure gen, given a swagger YAML(openapi 3.0)
2) Integrations for logging, tracing etc. with standard tools (like elasticsearch, cloudwatch, stackdriver, prometheus, etc).

So, Here I am seeking the opinions/experiences/comments of HN crowd about serverless frameworks / tools you used. Thanks.
Are you aware of monitors like this https://www.freestylelibre.us/? A friend of mine has it and is really happy about it.
What Is Beauty to an Artificial Intelligence?
Meditate everyday. Mindful meditation for 15 minutes a day has helped me just start things without thinking about them. Most people enjoy doing something once they get started, it is getting started that is difficult. Set a small objectives, and just get em done. I'm not even exaggerating, mindful meditation has been the greatest tool I've ever found for being consistent about things and starting things.
I think it'd be a great idea.. you either are on disability, work an average of at least 20 hours a week at a paid, taxable job (under the table work won't count), or you volunteer for registered services programs for 20 hours a week.

20 hours a week is just my suggestion as a minimum that would allow for people to still job search if they choose to and could be averaged over a quarter or year or similar. Exceptions would be for those who would traditionally be on Medicare. Note: I think if UBI were implemented that Medicare and a lot of other programs should be replaced by it.
I choose to believe we could have a better world, where loading a local news site doesn’t look like a virus-ridden Windows 95 desktop, where just trying to talk with friends isn’t interrupted by.. (checks twitter) payday loan lobbyists. Where the smartest people of my generation are using every dark pattern in the world to take my attention away from what matters to me.
I don't think these html pieces is very accessibility-tool friendly..
YouTube-Trained “Pilot” Rescued from Oregon Wilderness After Crash
Of course. I spend plenty of time thinking about diabetes and I stay involved in the data measuring communities (Nightscout, Spike, etc.) I enjoy knowing what’s going on with my body and I try to get like-minded diabetics to look into that. I also help people figure out how to get a CGM prescription and sell them on it by loaning mine out for a few weeks (and just that much data eases worry once they see their actual operating parameters. It’s worth my going without for a bit.)

I know this because I know diabetics who have lapsed out of control, or retreated into a rather small life, because they felt the excessive personal rules they’d either self-imposed or been taught by others were burdensome. When possible, teaching them a lighter set of principles to follow has had a positive effect.
Maybe a one size fits all transport security protocol is a bad idea. Simpler and smaller protocols with less features might provider better stable security?
Yeah, it's a bit pointless really. If you're going to put data on the open web, you should be prepared for it to be copied.
The idea that only 4+ star rating books are worth reading is laughable. Reading only very popular books is a recipe to read only books that fit into your own preconceived worldview.
How Craig Barton wishes he’d taught maths
The Church with the $6B Portfolio
Ad blockers are not as powerful as a scrapper, they basically a glorified CSS selector engine. This may be easy to bypass for a dedicated extension targeting Facebook, such as Social Fixer, but for a regular ad blocker it may be harder.
It’s worth noting that government placement of massive economic projects over the desires or even well-being of local people is a feature of Soviet and modern day Chinese economic systems.

And so it seems, American capitalism as well.
My kingdom for a document-oriented web
>but I don't think people are generally arguing that helicopter parenting hurts kids' academic performance in high school

That was one thing about this article that I missed. Literally nothing I've seen talks about how helicopter parenting has a negative effect on academics, just on the social and emotional aspects of a child. Which is the literal opposite of what this article talks about.

I firmly believe they used the term helicopter parenting to make a click-baity headline to drive views. I hate it.
Well, none of that has been proven yet, it's not even charged, perhaps (we don't even know for sure) it may be under investigation by the special counsel. I suspect we'll find out in some measure in the future.

If it happened, even then I think it would not be unprecedented -- I'd have to think for a bit about specific examples but I suspect we've even done it to other countries ourselves.
I think you can just iterate over the text nodes and see if you stumble upon every letter you're looking for in the right order, it would work for any kind of randomly added text.
Indeed. And notably, the radio stations paid the composers of the songs.
The ad-blocking side of the puzzle looks just as fun without the ethical issues.

The discussion on the uBlockOrigin repo trying to detect this markdown mangling is super interesting: https://github.com/uBlockOrigin/uAssets/issues/3367#issuecom...
Jsonnet is nice, but not actively developed, unfortunately. I highly recommend you to support UCG [0], which is written in Rust (Jsonnet has two implementations, which is one source of the slowness).

[0]: https://github.com/zaphar/ucg
If theres any level of government you as a citizen have influence over its your dang local government.

If your local government is inept, organize to replace it. There is no local government in the country that serves over a couple million people. None of them are out of reach like most state and federal legislatures are from influence by an average person with passion to fix it, even if the extent of your influence is to just spread enough malcontent to foster replacement of the incumbent powers that be.
likely from implicit k.
You’re Living in the America John Dingell Made
We have this problem all the time where I work. It usually manifests itself as a “slow engineer.” When you dig a bit that usually means the engineer in question is afraid to ask questions, generally out of fear of looking silly.

My advice is to ask questions and read up. You can ask trusted advisors/friends what to read up on before asking questions to the scary folks (who are usually not that scary anyway).
Ethics aside is a HUGE aside. You've just internally justified serial killing.
Can someone explain why it's worth paying attention? With a Republican majority in the Senate and Trump in office, the chance anything like this will pass before the 2020 election is nil. And whatever might pass then will be different.

I'm reminded of how when Obama was in office, the House attempted to repeal Obamacare 61 times [1] and it seems it was entirely symbolic.

[1] https://en.m.wikipedia.org/wiki/Efforts_to_repeal_the_Patien...
A Universal Configuration Grammar
In NYC, I would say the average at an upscale place is about $3 for a cup of coffee, more like $5 for a cappuccino or similar espresso drink. With tip, I often end up spending $4-$5 for an espresso, though it pains me to admit that.
Yeah, I'm not saying you or I are the only consciousness in the world... that's almost certainly false (barring ridiculous extreme cases like solipsism etc.)

The point is, this isn't science. Compare it to arguments for extraterrestrial life where we say, "There are such-and-such number of stars... Blah blah... Therefore we're probably not alone", but at the end of the day, we don't actually learn for certain that extraterrestrial life exists. We would have to make actual contact in order for that to occur.

This might sound impractical and ivory-tower, but bear in mind, early humans would have made similar arguments for geocentrism, waving away early heliocentric proposals as mumbo-jumbo.
My only point is that you don't have a "right" to use the service. The ToS not being legally enforceable does not change that fact. Spotify can kick you off for violating their terms, but they can also kick you off for whatever they want.

Being barred from the service is not some sort of injustice or violation of your rights, especially after breaking the terms.

The people in this thread claiming they can do whatever they want and block ads is true. That does not give them some sort of moral high ground, just because they can.
How to build a community from scratch with no budget
If you can't get your own employees to your office to work then you have a big issue operating.
My tip for learning and understanding new words from (nearly) any language:
Looking up their etymology.

Seemingly arbitrary words suddenly make sense and the story behind it makes you remember them and connects them to other words. Also it is so much more interesting than just looking up some definition or word-by-word translation.
Why would that surprise you? Hemophilia is a genetic disease, while diabetes rarely is. The pancreas has the genes it needs, it's just damaged (in type 1) or ineffective (in type 2)
İl ve ilçelere 3 bin 243 personel alınacak
If you wanted to support the artist the answer is buying concert tickets and $40 tshirts. Physical and digital sales/streaming are a drop in the bucket for a music arists income; you really burn the label when you pirate content. Cue RIAA “you wouldnt download a car, think of the artist” propaganda.
Well take the gzipped amount of data that adds up too then the average cache time it lives in the browser times the number of impressions and additions and you'll get a good metric for wasted bandwidth at least.
Bezos is totally using WaPO for his agenda!
I haven't ever used spotify, so forgive my ignorance. How are they measuring the system volume from inside a webapp? Shouldn't that information not be visible to them?
It doesn't. Eating too much and exercising too little promotes weight gain.
If I'm not mistaken the audio ads still use ad servers, so if you're on a network where someone is running a PiHole or something similar, the ads will be blocked. So running Spotify on an another person's network could get your account suspended if they're blocking ads, I guess.
Proxima Nova, it looks good and affordable ($5 a month on Adobe Fonts)
> hostile subscription service experience on Spotify

???

I pay $14.99 a mo and my wife and I enjoy as much music as we can stomach. It's the one subscription I never even think about. Their service never goes down and they are constantly trying to improve the product.

> Sonarr + Couchpotato + Plex + Subsonic is somehow a more consumer-friendly experience than their 'legitimate' counterparts.

???

If you have the time to configure all of that stuff (and support it, and find pirated content) you need to seriously up your billable rate and reconsider the value of your time.

Then again if you just enjoy doing it yourself and running your own gear, that is fine too, but admit it. I don't think this has anything to do with the market being hostile.
Exactly. That's why the tax should not be fixed percentage, but should have the "starting point" under which you don't tax somebody at all, and it should have "protect the poorest taxpayers" area which also can be different from the "it's effectively equal" area.

But somehow in the US people are trained not to think in that direction. It's more common to be aware of such possibilities in Europe, or to expect from the system not to completely ruin the life of the poorest.
It is and it isn't. Land in Manhattan is scarce. Land in the non-coastal western US or most of Canada or Australia is theoretically scarce too, but not so much in practice.
accept failure and use it as a stepping stone.
Ask HN: What are some examples of successes in competing against free?
Curious to hear from the community on how to approach a new market where an offering is already free and would be considered an incumbent. Other incumbents also exist and charge.

It seems like it’s possible to carve out a niche, but it wouldn’t be easy.

Examples I can think of would be the accounting software space.
Yeah, and if you're anything like a Silicon Valley giant you clog up the roads with private buses to ship your employees around, community be damned.
Keep in mind that this article is published by Nature Publishing Group, which is a closed-access publisher just like Elsevier. Hence, they have an incentive to give readers the impression that it's a big deal for a university to cancel their subscription to closed-access articles.

They do so by failing to mention the two obvious ways that people can use to get access to scientific papers without a subscription: (1.) preprints on open repositories and/or author websites, and (2.) Sci-Hub.
They lack resilience in my experience. I've worked in higher education for most of my adult life (except for that stint out of grad school in retail, and most of those lessons apply also), and I can spot someone with overbearing/helicopter parents in the first conversation.

They genuinely don't know what to do when they meet a challenge. They may be smart, they may be creative thinkers and problem solvers in a million different ways. But when there is a problem in their life, like a girlfriend breaking up with them, or a course not transferring between schools, or something like that, they just shut off. They either throw tantrums publicly, or, more likely, drop out and never show back up on campus.

That's the problem with helicopter parents. They raise kids with 0 resiliency. I have literally no research to back this up, but I believe it's connected to the uptick in teenage suicides in my area. Kids are raised to have no resiliency, so at the first 'major' issue (and everything is major to teenagers), they just throw their hands up because it IS the worst thing they've ever encountered.
I like vc-annotate. (Bound to `C-x v g` out of the box for me.)

Besides showing blame-type information for each like, you can also press 'p' and 'n' to go to previous or next commits; you can press 'l' to view the commit message for the last commit on the line you're at; you can press 'd' to show the diff for the line you're at.
I use this formula for everything, from learning new domains to working on side projects to doing exercise:

Improvement = Consistency + Effort

If you consistently put in effort, you will improve. Improvement over time becomes success.

If you just keep consistently showing up and trying your best, eventually you will get very good at anything. On a long-enough timescale that is a certainty. There is no reason to fear the new.
I actually know quite a few waitresses and others in the restaurant industry.

I think you should actually try to get to know some of the people who do far more valuable work than taking orders and occasionally delivering plates to a table and who make less than waitresses, like social workers, janitors, and bus drivers. If you know enough of those people, you begin to question the entire moral justification for tipping waitresses or serving staff in the first place.
Hey personally love this one. It is colourful and expresses my skills and experience in an Amazon way
https://uicard.io/products/hugo-uilite/
The legal enforceability of the TOS isn't really important here, when you use a service there are conditions with that service. Go ahead and try walking into starbucks, paying for half of a tall americano and walking out the door with half of a tall americano. Service providers have the inherent right to place conditions and limits on the services they provide.
There's one (on DL) but it doesn't fly daily until peak season.
It's more like the kid giving you 2 options:

- Unspiked lemonade for $.25
- Spiked lemonade for free

Companies are free to sell what they want, for the amount they want. At least there's more than one option here.
It's not shocking that content providers want money. It's shocking that pushing ads and selling data are the only ways they can conceive of doing it.
Kind of explains why React came from Facebook. If you're abusing the DOM to obfuscate the nature of your content, and running into performance issues.... hmmm
"most of these article requests are fulfilled within a working day by one of the ten German institutions that do still have a subscription to Elsevier"

... this doesn't seem sustainable
So... they just became profitable, and now they're about to spite a lot of users for about 10% of their revenue? I hope this day haunts them.

I can't believe how many people are discussing this as if ads are the utmost legitimate moneymaker. Ads are parasitic by their very nature, their purpose is to forcibly occupy some mind real-estate. Nobody wants to see ads, yet a large industry exists based on making people see them anyway.

I'm happy when I learn that more and more people are using adblock, and I hope companies that rely on ads to survive disappear. Spotify has chosen to put itself in that camp. I think it's foolishly short-sighted, and I hope time proves me right. The alternative is a future where the ads win... who really wants that?
Here's a rule: read stuff that you think is interesting.
I mean, if you really want the easy way out, just pay Squarespace or another WSIWYG website builder. That's what a lot of my artist and photographer friends use.
Finland's basic income findings: More happiness, but no effect on employment
I think it is very possible, even with ads.

So ads are often a place where dark patterns happen and such.

But take Apple for instance. Apple seems to respect user privacy to a fairly far extent compared to say, Facebook, Google.

If apple wasn't around ... we would probably say something about "you can't have these fancy smartphones without someone stealing all your data". But clearly Apple can do it (for a lot of reasons)... so we know it is possible.

I feel the same way about ads, it might be different, but it can be done.
I wonder who the target is for itunes match. I always figured people with massive physical libraries aren’t using iTunes to begin with.
You keep doing it. The more you try, the more you get over that fear, and understand you can learn what you put your mind to.

That also means you get better at understanding how you learn, and prioritizing what to learn as there is just to much!
Nutrition research is a minefield of easy answers. People who speak in certainties (like you do) can be presumed to not have studied it in depth.
Why do they even bother hiring a bassist if they don't anyone to hear him? They even paid the guy $1M to join the band!
Laravel performance is abysmal, though. You're gonna spend 10x on server costs if you use a fully featured framework in PHP.
You mean the one that had to tell people their “3G” phones wouldn’t work anymore when they turned off their 2G network because the early “3G” phones weren’t?

Yes.
Was there a community decision behind this? Go projects are now looking like Dockerfiles. This is unacceptable.
Then pay money for those services.
Most of the discussions of UBI are amounts too small to cover e.g chemotherapy. Or are you picturing a collapse in prices of healthcare as well?
I will say that I think there is a balance. NIMBYs hold back large-scale development in a lot of area where it would be very sensible (high density housing in SF, for example). But at the same time, the community ought to have a say in a giant change like Amazon coming to town.
Care to elaborate on that? Sounds rather surprising. In wikipedia on nuclear fission "quantum" is used 3 times: https://en.wikipedia.org/wiki/Nuclear_fission - but I suspect that all of the nuclear physics is based on quantum mechanics isn't it?
This is your friendly reminder to make backups of things you don't want to lose. This happened to me when Grooveshark quit, so now I have a small script that pulls all song metadata from my Spotify account. I can always still buy music, switch services, etc., but I can't get my collection back if they see my account mistakenly as blocking ads (I'm a paying customer but you never know).

Same with Telegram (or your favorite chat service) by the way. Almost nobody backs that up. Especially if you're not paying and they can read your plaintexts (and find something potentially unwanted in there), be sure to make regular backups.
Enter an Archive of 6,000 Historical Children's Books, All Digitized
And the city is already desirable. Google and Apple are building huge campuses in New York in the Upper West Side and Hudson Yards respectively, and they aren't getting paid two billion taxpayer dollars to do it.
Normally I would not do this but it's worth checking this as it has seemed a big contentious issue and I wanted to get a view

So USA total expenditure on defence is around the 700bn mark - at about 4% GDP roughly double the major EU countries at the 2% Nato recommended mark. The UK is listed below at 50bn (~2%) but I happen to know the UK Blue Book has 95 Bn - so even basic accounting is a difficult issue these days...

However this is not the same as the Nato budget or "contributions" - the NATO countries contribute very little to NATO specifically (a building in Brussels etc). An aircraft carrier belonging to the US Navy still belongs to the US Navy whether it's on NATO exercises or on patrol by Hawaii.

I think Trump makes a fair point saying those that are not spending 2% on defence should increase the defence expenditure as they agreed - but equally that is mostly considered an internal political decision. Having international agreements that get in the way of internal politics is ... well Brexit, NAFTA, most wars ...

Interesting to do a little research and get an understanding of the problem - thank you for the prompting - but I think the USA is not going to stop spending 700bn - the issue is will they step away from a mutual defence pact?

In the end I can still be a well armed socialist ;-)

[1] https://en.m.wikipedia.org/wiki/List_of_countries_by_militar...

https://www.nato.int/nato_static_fl2014/assets/pdf/pdf_2017_...

https://www.factcheck.org/2017/12/distorted-nato-funding-fig...
(little disappointed by fact check article quality here)
There are headphones where %30 volume would do some damage.