skysight-inc/HackerNews huggingface dataset:
<20g is just the threshold that's guaranteed to put most people into ketosis, but the exact number will vary by person. <50g is also a common threshold that works for many people. I'm not an expert on what qualifies as a "ketogenic diet" but personally I would say that if your diet consistently leaves you in a state of ketosis, then it's ketogenic. I would hope that any study on ketogenic eating is actually measuring blood ketones to determine this.
Crazy exes eh? \s
ProtonMail. And ProtonDrive is in Beta.
People are different, and due to individual needs and desired outcomes, one size fits all dieting isn’t the best thing.

I have type 2 diabetes. For the first 7 years after my diagnosis I stuck to the ADA diet I was told to follow and to use insulin to manage my blood glucose. My insulin requirements increased every year…10-15%. My weight stayed the same, trying to lose was difficult to maintain for a long period, and when you have a lot of weight to lose…you need to maintain caloric restriction for a long period.

5 years ago I switched to keto. Within 4 months I was off all diabetes meds and have been off since. I have lost 170lbs. Does the diet alone give me all the nutrition I need? Nope. So I take a supplement or two to get what I need. That is better for me and my blood sugar maintenance than consuming beans and root vegetables. Keto enabled the change I needed to make, because one thing the diet does well is create satiety, which ultimately leads to caloric restriction which led to weight loss which led to the glucose control I needed to stop damaging my body.

Here is the main thing though. Eating the ADA diet and using insulin to control my blood glucose was ultimately a losing game. My life expectancy was likely lower eating that ADA diet than eating keto, thanks to all the keto created benefits. Diabetes might have killed me at 65, keto might kill me at 75. I’ll take the 10 years and whatever issues keto decides to deal to me.

This is just my individual story.
> They require an army of engineers to build/operate/maintain them.

Yep agreed, but there's a key difference. Unlike most other jobs, your labor continues to provide the company profits even after you leave. I think that's why software engineers are typically paid a lot and are often paid with a stock option component.

> Inequality is a political problem. I'd rather we tackled that for what it is: bring on the fully automated luxury communism and free us from our mindless toil that can be trivially performed by mindless robots. We have nothing to lose but our drudgery.

I think we could already do this. Obviously many workers would still be required, but they could be much more fairly compensated. Someone else mentioned Graeber's Bullshit Jobs, we're already inventing jobs just to keep people busy and spending. As Adam Curtis said[1], "your real job is shopping".

[1] https://www.facebook.com/watch/?v=1414301661936421
Experiment? Certainly.

Procedure? When not doing the procedure will (to continue using my totally made up hypothetical numbers) cost 5 million more lives? That’s much less clear to me.

(Reality is more likely to be “we reckon it might save 5 million lives net, but then again it might combine with the original to make something both virulent and highly transmissive”, but the joy of hypotheticals is I can ignore that).
You’re confusing “microservices” and “distributed architecture” with “depending on specific cloud provider services”. Microservices don’t have to depend on any cloud services at all and monoliths can (and often do!) use cloud services.
Show HN: Random Data Generator for arbitrary data types
Datasino is a command line tool that can come handy when load testing a service or database.

Give it a data schema (many compound types supported, including recursive types), an encoding (JSON, CSV or ClickHouse) and a target (a file or a Kafka partition) and a data rate and it will generate a reasonably optimized (native code) random data source.

See the top of the README for some examples.

If you have any ideas on how to extend this tool so that it's useful to more people, please let me know.
The Failure of the Single Disease Paradigm in the Treatment of Aged Patients
Potentially it would connect people together, which means new opportunities no matter where you are.

But I think these companies ultimately don't have what it takes to make it work. They might figure it out, but a lot can go wrong. I'm not really a VR guy myself either, and AI is just too rudamentary at this point to trust.

I don't really see the excitement for it either, the people writing these articles are all over it, but they are probably investors or work for investors, right? Like you don't see people on the Reddit pulling for it, it all sounds a bit niche at this point.
> The totalitarian state that is necessitated by the communist political system always turns out to be as hellish, selfish, and mismanaged as any late capitalist dystopia

Leninism (and it's descendants) have a totalitarian state system (socialist, including non-Leninist Marxist Communist, critics tend to call it “state capitalism”) that replaces private capitalism as a hack to avoid the requirement of developing proletarian class identity in a developed capitalist system present in OG Marxism.

That this turns into a dystopian nightmare that mirrors and even exaggerates the horrors of private capitalism and fails to actually bypass private capitalism is a surprise to no one but Leninists, least of all non-Leninist Communists.
This is the real issue. The other comments here are talking about dev-productivity, but they have the causal chain backwards. The browser overhead is about running in a sandbox, on arbitrary/unknown hardware. Web development had poorer DX than desktop app development for a long time, until the critical mass of web-devs (driven by the distribution advantages) finally drove the DX investment to heavier on the web side.
Reminds me of the time I heard from someone much older than me that Democrats and Republicans switched from being red or blue almost every year until 2000 when the election results were so uncertain that people got used to seeing red=Republican and blue=Democrat for weeks and the color scheme just ended up becoming permanent.

As a (younger) politics junkie I was shocked even though it makes total sense and I've always kinda felt they should've been switched.
Python modules are basically a singleton class. It's somewhat unique among languages (JS has this too).

Makes it so you can "unit test" modules without actually using a Python Class. I see the Python Class as a way to get a "module within a module".

Nice side effect of Python modules as singletons: The "self." is implicit to the scope of the module- This makes them a joy to write.

In most other languages, yeah, you'll want some form of encapsulation so you can write tests.

Type checking can cut down on the amount of tests you need to write, but you're continually paying for it with dev time. This is a decision that needs to be made depending on what the project is, whos working on it. If I'm on a team with a lot of new people who will try shoving data where it shouldn't go, yes, gonna force type checking and take the velocity hit.
Figured they were only familiar with burndown charts.
Maybe he is alluding to the fact that adding megabytes of shit JavaScript to profile and serve ads is what is making the pages load so slow.
I don't think you've really thought about how awful the middle ages are.

> The Kings had access to much more information than they cared about already.

Royals used to have portraits painted and transported just so they could get an idea who the person their arranged marriage with actually looked like. Bet they'd like Facebook.

Louis XIV commissioned a more accurate map of france. It took 4 generations to make.

The first semaphore was so valuable it was initially reserved just for government use.

Oops, no wait, these are all post-medieval by a few centuries! Things were even worse before.

> The King could do the same, all day, every day, with personal chefs familiar with their preferences, and without fear for the expenses...

The king would be stuck with local food, in season only. At least he'd probably be able to afford some foreign spices. And they probably couldn't get food in an hour, due to the less efficient kitchens of the time, and not having thousands of restaurants already on standby to serve every kind of meal.

> Oh, how Kings would be jealous of the magic of Uber...

That device that travels twice as fast as a horse for hours without break, and at more comfort? I think so.

> As for Kings who didn't die in guillotine

England has never had a king live past 81. It's even worse if you look at medieval kings. US Life Expectancy is ~79. Even ignoring life expectancy, pretty much all illness was vastly more unpleasant. As a king, you'd likely have gout (called the "disease of kings") or an StD.

> Who wants to be a middle class schmuck

The purpose of the exercise is to determine who is poorer in terms of what is available to them. Kings are no doubt more important and powerful, but can we agree that's besides the point? I for one, would take the quality of life of said schmuck.
Belarusian railway hacked to disrupt Russian buildup
Also there is varying degrees of colour blindness. I have mild case. Where I have hard time to differentiate certain shades from each other, but clearly red or green is like traffic lights is still easy to distinguish.

So something like a graph might not be an issue if shades are properly selected.
Are we already post-scarcity?

Thanks to industrialization, in the first and second world yes for basic food, clothing and shelter, as well as other mass-consumed products.

Things that remain (increasingly) scarce in my view - globally - are broadly educated people, political/economic/behavioral freedoms, unspoiled nature and the temporal wealth and whim to access it regularly.
This thread, and many others like it, is a goldmine of handy tips. We have links to providers, solid evidence of migration success and plenty more. However, it's not a great resource at the moment. If anyone has time to collate the tips, links, articles of methods etc into a wiki we (the community of g suites) can help our fellows. A collaborative tips doc will help us all out.

Also the g suite support doc now says a tool will be coming that can migrate purchases to regular G accounts. They've listened (a bit).
What's the performance penalty?
> hard to follow because of the high fat

It really isn't, it's just a matter of adapting your taste buds. If you're used to fries and muffins daily, yeah it can be hard, but as someone from Southern Europe used to snacking on salami and cheese and butter, reaching 80% calories from fat isn't hard at all, especially considering that fat is more than 2x more calorie dense per gram than protein and carbs, so you don't need that much of it. A steak with a little butter gets you there easily.
Wow, that sounds like an utter nightmare.
Isn't keeping employees working longer by design? Or is it only "dangerous" now because they are somehow finding out that the knock-on effects of these perks are now giving negative returns on productivity?
One thing I don't understand is, what are his principles? Is it just simply, Vaccines are bad? Are they worse than death? At least Christian Scientists I can understand what they believe. But what is the principle he is standing on? As far as I can tell, he has just wrapped his identity so much around anti-vaccination that getting vaccinated would be worse than dying. But is that really the case? What does he think will happen because of this vaccine that will be worse than giving up his one chance of life?

I hope he does well after this...
Weylus: Use your tablet as graphic tablet/touch screen on your computer
> A company like Nintendo doesn’t seem like it has an American equivalent

I find they're similar to pre giant-media-conglomerate Disney. Their products target families, and are very child friendly. Ridiculous limits on when you can buy things (Disney Vault, Mario 35). Both are incredibly litigious.

Although I can't think of any comparisons to Nintendo's lack of decent online services.
I don't see how this proves your point. It's like saying there is no way to get an education because no one forced you to go to university.

You can go on grow and search for "classes on leadership" or whatever else you're looking for and it will appear. It's not like you have to guess the title ahead of time. Grow is quite literally a course catalog.
Don't they get student loan forgiveness? Or just all the other kinds of benefits.
> I'd rather be poor in any european country

Bulgaria welcomes you
Centos docker images have a copypastable example in their docker hub description.
Whether you think a fact is "racist" has no bearing on whether it is true. Do you deny that there are measurable, meaningful genetic differences between groups of people? How can you justify the belief that adaptation to drastically different environments over thousands of generations after leaving Africa magically stopped above the shoulders?

What about geographically isolated interbreeding with other homonids? Those genes are also unevenly distributed; why would these genes not influence cognition?

One striking example is the so called warrior gene, which completely alters the metabolism of monoamines, like dopamine and serotonin, which have direct influences over reward seeking, mood, and behavior. This mutation is nearly absent in many populations. There are plenty of other such unevenly distributed variations.

Note that this does not imply that all people from group X are Y. But it does neatly explain, at least in part, multimodal statistical distributions like those we see consistently reflected IQ and crime frequency.
> Fine. Let's try another law.

>Any locked device must brick itself after 6 months of no patches, to ensure the safety of the network.

What does this accomplish? Get people mad? Moreover, what prevents someone from making trivial patches to keep a device "up to date", kind of like how people make trivial changes to their passwords to keep up with password rotation policies?
Now that we've found that the Internet is fraught with bots and scams, and that social media was all a ruse to lure us into marketing funnels, we're trying to go back to the happier and less ad-infused independent web...

But finding out that the death grip that major corps have on hosting costs, IP lawyers, data accessibility, regulators, search results, and on audiences will be the biggest obstacle to overcome.

I'm stoked to see what happens with the rebellion, even though I, like many other independents are a bit jaded about ranting that this was gonna happen years ago when nobody listened... hah.

Our best tools at this point are probably to bring back RSS and to re-establish more cost-effective independent hosting alternatives.
> Are you making this more complicated than it needs to be?

A large proportion of folks on HN seem to think GDPR is "out to get" everyone rather than a set of common sense regulations that should not at all be a concern for an individual who's serving a blog or personal site and doing nothing to collect PII/track their visitors.

I don't understand why this view is so prevalent.
I got bored the other day and thought it would be funny to make a copy of the most expensive NFT and set that as my Twitter profile picture because they added that silly feature.

So I downloaded MetaMask, got everything set up, and went to one of the NFT marketplaces to try to make one. Uploaded the image and got a big scary warning:

> (paraphrased; I don't have a screenshot) This image was found too many times on the internet. If this image is not yours, this is ILLEGAL AND A VIOLATION OF COPYRIGHT LAW, and may result in your NFT being removed from the marketplace.

How on earth is this decentralized? Like yeah, I get wanting to protect your "asset" from "theft," but what central authority gets to decide what copyright law we abide by- further, what happens when an NFT marketplace removes your NFT? Does it get removed from the blockchain? I legitimately don't know how this works.

The user experience is also TERRIBLE. I am rather technical (hell, I used to do Bitcoin back in like 2015, or whenever it was about $4k/coin) and still don't really know how the hell MetaMask works. I imported the wallet on my phone... maybe? The randomart image it showed initially was different, but apparently the iOS app just defaults to a different kind of randomart.

You also have to use the MetaMask browser on iOS. It sucks.

Also the MetaMask connect buttons barely work across different sites. It had a _really_ hard time telling if I had a wallet. Not sure if this is an implementation issue on the dev end but as a user it was super confusing.

Using crypto to sign transactions to verify my identity is actually a very interesting idea, I like it a lot. Much easier than creating a user/pass for every site- just click Sign and go. That's basically the only good UX of web3 as it stands.
Google is going to skimp and cut corners wherever they can to save money and trim the fat (e.g. cutting off google apps for business free, less and less ad yt ad revenue, accelerated EOL of devices and services, etc). This is what happens when you've barely innovated in the past few years (compared to early-mid 2000's). Google is essentially the Intel of Web 2.0 companies. They blew their huge lead dicking around with a billion messaging strategies, social media strategies (obsessing over fb), corporate scandals, etc and lost a lot of customer mind share and good graces in the process. It also doesn't help that Microsoft has found their stride again in recent years.
Anyplace raises $5.3M to provide a home (office) away from home
Seems like it would also be possible to detect mixture differences, undocumented patches, pour boundaries and anything else that would lead to a non-homogenous mixture.
Discussed 3 days ago as well: https://news.ycombinator.com/item?id=30038144
AiTLAS: Artificial Intelligence Toolbox for Earth Observation
I even said, that we already have that sort of control for camera and microphone. You present those things in a way, as if you think, that I did not mention them as already existing. As if you have to lecture me about them existing in a modern browser. I did never claim that they did not for camera or microphone. Your comment feels agressive to me and seems to hint, that you did not parse my previous comment correctly.

What the "normal user" does, is not really my main concern. There could be a switch to "expert mode" or whatever. The "normal user" doesn't even know, that a website consists of HTML, maybe CSS, and maybe JS. They are so far behind in basic knowledge, that I think it would be hopeless to demand such decisions from them. They just don't know how the Internet works. They are merely users.
> After the infection goes away would it be recommended to get the Moderna booster right away or wait for some time?

Honestly, if it were me I'd probably wait. If the goal is to maximize immunity, it seems like it would be better to boost when it's possible your immunity from your infection might have waned. Plus, by that time they may have vaccines better tailored to the circulating variants.
It's worth noting that there is a core of people doing real work in crypto who are not trying to peddle NFTs or other sleight of hand rungpulls designed to separate the gullible from their money.

Ethereum, for example, is full of people building interesting things like off-chain low-cost trading using non-interactive zero knowledge proofs and actively working to make crypto less energy intensive and more useful. They don't want to sell you an NFT and it's not part of some elaborate rugpull- There are plenty of examples of people doing this important work because they legitimately believe that a world where fiat control is divorced from the levers of governmental power is a positive change.

There are also, of course, people trying to use those achievements as part of a weird shell game where the end result is giving gullible strangers nothing in exchange for something. That's sort of the human condition.
And! The ledger isn't used by the main marketplaces or wallets (eg OpenSea & MetaMask) when you're trying to look at your assets. You can be deplatformed from those places, unable to trade your assets with anyone on those sites/using those wallets.

From that Moxie Marlinspike article:

> A crypto wallet like MetaMask, Rainbow, etc is “non-custodial” (the keys are kept client side), but it has the same problem as my dApps above: a wallet has to run on a mobile device or in your browser. Meanwhile, ethereum and other blockchains have been designed with the idea that it’s a network of peers, but not designed such that it’s really possible for your mobile device or your browser to be one of those peers.

> A wallet like MetaMask needs to do basic things like display your balance, your recent transactions, and your NFTs, as well as more complex things like constructing transactions, interacting with smart contracts, etc. In short, MetaMask needs to interact with the blockchain, but the blockchain has been built such that clients like MetaMask can’t interact with it. So like my dApp, MetaMask accomplishes this by making API calls to three companies that have consolidated in this space.

> For instance, MetaMask displays your recent transactions by making an API call to etherscan
> …displays your account balance by making an API call to Infura
> …displays your NFTs by making an API call to OpenSea

> Again, like with my dApp, these responses are not authenticated in some way. They’re not even signed so that you could later prove they were lying. It reuses the same connections, TLS session tickets, etc for all the accounts in your wallet, so if you’re managing multiple accounts in your wallet to maintain some identity separation, these companies know they’re linked.

> MetaMask doesn’t actually do much, it’s just a view onto data provided by these centralized APIs. This isn’t a problem specific to MetaMask – what other option do they have? Rainbow, etc are set up in exactly the same way. (Interestingly, Rainbow has their own data for the social features they’re building into their wallet – social graph, showcases, etc – and have chosen to build all of that on top of Firebase instead of the blockchain.)

> All this means that if your NFT is removed from OpenSea, it also disappears from your wallet. It doesn’t functionally matter that my NFT is indelibly on the blockchain somewhere, because the wallet (and increasingly everything else in the ecosystem) is just using the OpenSea API to display NFTs, which began returning 304 No Content for the query of NFTs owned by my address!
Detective Work with Rust Analyzer
Very cool, but its the kind of clever stuff I hate to see in code, unless there is a really compelling use case. Maybe for piping with pandas similar to dplyr
Microservices probably do increase the overall amount of complexity in a sense, but the idea is to trade a little bit of complexity in order to decouple teams. i.e., each team can own its service from soup to nuts without having to coordinate with a bunch of other teams. To put it differently, there’s a small increase in technical complexity in exchange for a significant decrease in organizational complexity. That said, if you go out of your way to retain that organizational complexity (e.g., by dividing your services in a way that doesn’t resemble your org chart) then you’re going to have a bad time with microservices. Similarly, if you don’t have organizational complexity (e.g., you only have one or two teams) then microservices are probably the wrong way to go.
Agreed. I likewise find analysis/comments that begin with some reference to journalists and clickbait pretty tedious.