skysight-inc/HackerNews huggingface dataset:
> Typically, people would go for an 8 a.m. to 6 p.m. eating window

This is something I don't get. After sleeping 8h, you're in a fasted state, having done the "hard part" that is not eating for several hours. So breakfast/lunch should be the easiest meals to skip.
I have another one, which I followed now for a while. My intention was less about weight loss, but I'd argue it still helps:

Eat breakfast, lunch and dinner like you'd normally do. But in between meals, follow a strict zero-calory intake. This way, you have 4-5 hours of zero calories between meals. Thus:

- only water is allowed

- if you want to drink coffee, drink it right with/after a meal

- if you want to eat chocolate or snacks, they have to come after a meal

I noticed that this has several effects:

1. For me, it's easier to do than intermittent fasting, because my family eats three meals.

2. Most people gain weight because they snack all the time or drink stuff with sugar (or coffee with milk).

3. I actually became hungry after 4-5 hours. A feeling I haven't had in a while.

4. I can't eat lots of snacks or chocolate, because I'm full from a meal.
this seems to be standard effect of many dietary fads, i.e. they end up enforcing compliance with a low calories regime.

Which is a good thing! But somehow we're always looking for other "magical" effects of diets.
If the alternative you are hinting at is CMake, I can't really agree with you.

I tried it recently and was shocked at how awful the syntax and usability was.

It's begging for a tool to auto-detect your dependencies from source. I was trying to port an existing project to it and I gave up when I realised that I'd have to manually create about 30 CMakeList.txt files or whatever they call them.

Meanwhile during the same weekend, autoconf allowed me to build gcc from source with three commands. I know I know, I'm not supposed to like autoconf, and the orthodoxy is that it is garbage ...

It seems every generation ignores the previous generation's tools and invents worse ones to replace them.

If this continues we'll soon go back to banging rocks and sticks together.
> Which works great for Apple, because they don't have anything to spend the money on anyway

Not true. Apple spends boatloads of money on dividends and share repurchases. Apple doesn't pay taxes on that, but shareholders do.
> IMHO, the current status of nutrition is very divergent, almost every habit is backed up and discouraged at the same time by more than one study

Are there any that say fasting is bad?
But that's not the premise. It's your interpretation. I get the whole hate vs employer and capitalism, but then again - if you're after biohacking yourself for whatever reason - overclocking machines always comes with a cost, even if it's human body. Its equilibrium exists for a reason, disrupting the equilibrium in order to "overclock" a part of it (cognition) must come with backlash of some sort.
Society doesn't tells us that anecdotal evidence is false, it tells us that it is generally not representative of the whole. What may have been true for your friends does not make it true for all. That doesn't deny your experience, just means you shouldn't make broad generalizations without data to support it.
OK Boomer :D
Both the article and the study are extremely suspicious.

In addition to the mentioned points:

> When you're constantly giving the body calories, you're constantly making your cells work

This is a nonsensical statement.

> We saw a 3% reduction in their weight and a 4% reduction in abdominal visceral fat

Taken out of context, this is poor journalism. There's fat all over the body; abdominal fat is only a part of it.

I've checked the research:

> We observed significant reductions (p < 0.05) in body weight (mean ± SD, 3.3 ± 3.20 kg [3%]) [...] percent body fat (1.0% ± 0.91% [3%])

If I understand this correctly, they lost, in average, 3.3 kgs of body weight (on an 85 kgs person, that's 3.9%), and 1% of body fat.

This is a catastrophe. It means that a lot of non-fatty tissues (muscles) have been lost, which is the effect of poor diets.
You can gain alot of time simply by getting your private pilot and instrument rating and buying a fast airplane. It need not be a Cirrus, for example. A well maintained 60s era Bonanza can get you halfway across the country in a few hours. Sure it's more expensive, but you can fly to an airport that is nearest to your business dealings, often borrow a "crew car" from the FBO in exchange for buying gas, and be home in time for dinner.
So you dont want to run (insert software here, like your IDE) in the cloud, and you dont want to run it yourself because you dont trust it (its open source). Then how do you want it delivered? Snaps? Docker? KVM image?
And a good night of sleep. How many people reading this thread have to wake up to an alarm clock?

Edit:

Also, the benefit to cognition that you mention is sort of like a secret because I never seen anyone mention it. When I first started on a "keto" type of diet I woke up one day with a feeling which was like being wired on coffee but without the jittery side effects. Except, it didn't go away. I would have thought I broke something if it wasn't such a positive. It's amazing to think that's how we should be feeling and that nearly everyone is working below this level.

Personally, I got distracted, had a bunch of changes at home and failed out of it. I'll be climbing back on after the holidays.

I still like to drink coffee in this state, though I limited my intake to one cup every couple of days. Nicotine seemed to be neither a negative or a positive. It didn't cause more or less problems for me. I could also drink beer with no problems.
you can be an entrepreneur to follow a passion as well as for pure capitalist greed. For example, sometimes I can't focus very well so I take modafinil. It's a short-stop fix for something I'm working to improve long-term. I do this in order to work on something I find intrinsically rewarding.

Though I feel like you're not really complaining about cognitive enhancement, but more about capitalism. In which case, sure, capitalism is pretty flawed.
Pydeps: A Useful Program
Would it mean that changes in Wireguard will require a new version of the kernel ?

EDIT: I mean, if I am on debian and I have kernel 5.6-build123, a patch to Wireguard would mean I will need to upgrade to 5.6-build124 ?
A Code Readability Experiment
Opinion: We need to know what happened to CRISPR twins Lulu and Nana
I wish it was easier to monitor what goes on inside our body. E.g. digesting works differently if you have some kind of intolerance, allergy, diabetes, whether you have enough muscle mass or not... We treat it as a black box, give blanket statements with a self-selected sample size, and hope that it works for everybody, which it rarely does.

E.g. there are conditions which require you to eat small meals throughout the day, which obviously is in conflict with fasting...
Yeah, It's crazy how much people drink coffee.
Anything that reduces how much calories you take in without reducing the calories you burn, is going to make you lose weight.

The whole trick in helping people lose weight is finding a way people can easily keep doing that without any expenditure in willpower. That's the big problem with every single diet: it requires discipline and willpower. The less of those it requires, the easier it becomes to stick to the diet.
The weight loss is cool and all but it seems like a bad idea to just start doing this method until there's a long-term study about the effects this has on your body. What if you stick to it for a few years and ruin your body? 12 weeks is not nearly enough for conclusive results.
IMF = Intermittent fasting
I imagine the issue you run into there is that at that point you are providing a paid service, which triggers different regulatory/insurance requirements. Just like you can't pick up paid passengers in your own private car when just driving somewhere, other than getting some money for petrol.
Most people I know do IF by waiting to eat until 2-3pm.
Yes this is true, as long as your error handling is the same for all calls (not necessarily the case, especially if logging is involved).

I don't actually have a problem with the callback version because it is nice and explicit. But again, I did originally say say that "async/await" was actually a valid use case in this necessarily serial scenario (and is exactly what I do in my article that I linked to). ;)

That said, if I see a chain of serial calls more than a few levels deep it is a code smell that indicates refactoring is necessary. There really is no reason to write code like that unless it's very simple logic. This is why I have never had a problem with "callback hell" even though I write code that is heavily asynchronous (APIs, WebSocket, pub/sub etc.)
I've worked places that had racks of servers that were only really used for a few hours a month to support massive financial consolidation runs - that would have been a great workload for a cloud service.
Same here. I want to try WireGuard too but ProtonVPN doesn't support it yet. I may reconsider them as my subscription expires next year.
> I figure that most engineers will reject collectivism and be comfortable with a libertarian framing.

I realize this is a bit besides the point, but why are the two often presented as mutually exclusive? Why can't something be done both in a collective and a libertarian fashion?
I imagine using known IP ranges (https://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.... & https://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges....) you could redirect to local resources within their region.

I'd probably use Lamda/NodeJS with a ~20 minute in-memory range cache that should stay under 128MB of memory per instance. Perhaps I'd store all the range starts and ends each as two 64-bit ints on a database of your choice for persistence, indexing, and comparison. Finally, some code to convert IPv6 and IPv4 into 128-bit (2x64-bit ints) IPv6 integer space and back.

A second service could listen for IP range updates avoiding any bandwidth fiasco if a new range opens up with a sudden influx of traffic.
Somehow this article misses the fact that electric cars are charged every day when parked at home. In the typical scenario of a car used to get into the city and back, it will not need to ever hook up anywhere in the city and will not run out of charge for the day.

When the article in the end complains that it will waste so much time I just wonder how the daily hookup at home compares to the weekly gas station visit. I'd say it pretty much evens out.
I wonder if there is something like a Hawthorne effect for diets that would explain why almost any dietary change leads to some weight loss. Simply changing when they eat seems to make people ingest fewer calories.
Please don’t use blockquotes (4 spaces) for anything that isn’t code. Your comment is very hard to read on mobile.
Honestly, this is a habit that a lot of people (that I know) do without even realizing it. All you need to do is skip breakfast (maybe replace with a black coffee since they wont skip caffeine) and you almost certainly fall into a 10/14 TRE regimen.
Same way you buy a custom yacht, you tell your PA to sort it out :)

Interesting article btw, there's a lot more to it than the title implies.
> Dr Peter Attia has done some great podcasts and YouTube presentations on the science behind fasting for the curious.

As someone who wasn't overweight, it was Dr. Attia with his guest Rhonda Patrick who finally got me to try IF for general health. I highly recommend listening to his podcasts.
Once one adopts a routine like this, it's becomes so much easier to efficiently condense that 10 hr eating window into a 2-1 hr one for more of those "gains". Combine that with a low carb lifestyle and you essentially get yet another free multiplier.
As someone living in a very old and rustic street, I don't see my municipality placing an aesthetically unpleasing charging point every 6 meters. We need better solutions than what we have now. Induction charging, connection points underneath the car, pantograph.
Article misses out that in all but the smallest/tightest parking lots (which I guess are more common in tighter downtown areas), gas stations typically have additional parking already that could also be converted to charging stations. Article also brings up the specter of extra carbon emissions for extra charging infrastructure, but doesn't provide even a basic analysis.

There are certainly some logistical issues that electrical has to work out. But this is straight up a fear piece. Yes, gas is transportable by hand if required, but I bet most North American drivers (or at least urban ones which this piece is targetting) just go with roadside assistance anyways, so the charger will come to them.

And finally, with the potential of charging at home/work (which I know can't include everyone... but I think can cover a reasonable percentage of people), you don't NEED to charge up even to 80% all the time. Needing a full charge all the time is a hold over of gas mentality and logistics.

The one bit that is reasonable here and noting that our current laws probably need a tune up in recognition of the changing nature of driving.
For charter flights things along those lines already exist. For example hopping a ride on empty leg repositioning routes.

For truly private jet flights it can be trickier. Many truly private jets operate as private flight operations under part 91 of the FAA’s rules. That has a lot less red tape for a private operator but means they truly need to be a private operator and can’t pickup others for hire.

Several startups have tried to get around the above via legal loopholes via ‘Uber for airplanes’ models and got shot down by the FAA.
The app is only better than the mobile website because the website is absolutely terrible. I do read reddit on an app ... but not the official one, I use BaconReader.

One day I suppose Reddit will ban third-party apps for the same reason Twitter did: they're more usable than the official one and feed less surveillance back.
Something Java and the Java ecosystem is terrible at. I've had project where we needed all of 7,8,9 and 10 [0] for the data stack: Hadoop, Scala, Spark, HDFS, zookeeper, pyspark. Good luck setting that up on a single machine, containers all the way. The java path nightmares I still have. I'm probably one of the few people in the word who know this much about the JVM without ever having written any Java.

[0] We should have also been following 11 but just didn't have the resources to even think about doing it.
Excerpts from the paper with commentary [0]

[0] https://www.technologyreview.com/s/614764/chinas-crispr-babi...
The point of pretty much all intermittent fasting schedules is being "basically forced diet".

While I agree it'd be interesting to see if there are additional benefits vs. the same reduction without the time constraint, a large part of the reason why some people prefer intermittent fasting is that some feel it is easier to comply with. E.g. you only need to exercise self-control for a relatively low number of waking hours.

I've done it in the past, and it was remarkable how easy it was to end up eating less when you compress it in a smaller time window; most of your hunger ends up happening outside of your eating window, towards the end of your fasting period, so you just need to hang in there and count down the time, which for me at least was easier than most other ways of dieting I've trued.
Science explains why we should all work shorter hours in winter
One would wish so!

I recently had to start using PulseSecure. For authentication that damn thing loads a full blown webpage in the background, actually executes the JavaScript therein, fills some forms and submits that via POST. There's a PulseSecure module for openconnect, but it's unable to send the keepalive reauthentications, because it's unable to correctly associate the presented form inputs with the credential fields, so I'd have enter them manually, on each keepalive.

I can only hope that WireGuard is going to drive a solid piece of hardwood through every "commercial grade" VPN appliance out there, and then desintegrates their heads, too, just to be sure.

But given the inertia of big orgs, and the that public and governmental institutions for one reason or another seem to trust "BIG" names with "BIG" (i.e. bloated) products and marketing more, than small, easily auditable stuff, I don't see it happening… sadly.
Just need to make the battery packs removable - then the car can be "recharged" fully in less than 5 minutes.
If you drink your coffee black, you don't need to do it right after a meal :)
No accident the article misses facts, it's a propaganda rag: https://spectator.org/about/
No expert here, but I think fasting can sometimes trigger disordered eating in some people. Binge eating, etc. People are just so varied and so is nutrition.
> Engineers are infamous for not wanting to deal with pesky things like customers and usually don’t care whether their designs can lead to products that can be produced at scale.

This is part of the job. And if this is something that is characteristic of your engineers, you’re doing a lousy job hiring/training/building a culture.
Get enough sleep (most important I guess), don't do drunks nor drink alcohol.

I'm only good at _giving_ advice, but I don't think there's any secret besides those things..?
Reformatted for mobile users:

* How dependent on libc is Zig, if at all?

* What kind of runtime expectations does Zig have? Does it need a malloc, for example?

* How big is its standard library?

* Is it possible to write code without its standard library?
The sample of people is really small (n = 19), so I would definitely take this with a grain of salt. I’ve personally found fasting to be an incredibly effective method of weight reduction, however I was fasting for upwards of 20 hours a day. If you view the world from a basic calories in vs. Calories out lens, what is the best way to reduce calories in... just don’t eat. I find it a lot easier to not have the option to eat than to have the option to eat but having to eat less. I would be interested to see how the rest of the HN community sees fasting
Processed carbs make you sleepy, right..?
>A well maintained 60s era Bonanza can get you halfway across the country in a few hours.

The kind of plane Steve Wozniak had his famous crash with in 1981?
Whether it be drugs, cybernetic enhancements, mental discipline and training, and changes in diet, I’d eschew all of them (maybe except for diet improvement) and instead advocate for this: engineers should stop taking work so seriously.

I don’t really care if I’m working to 100% of my potential. My employer won’t pay me more for that optimization anyway.

I think there’s something of a toxic attitude in Silicon Valley that we should all be honing ourselves into this amazing constantly-tinkering engineer who runs a really cool blog. There’s also a general toxic mentality in America that we can all work our way to becoming billionaires - in reality, none of us can optimize our way into having family connections to the elites in our society. In reality, that engineer doing all that cool stuff in the Bay Area in their shared studio apartment probably doesn’t have a better retirement plan than the community college sysadmin with a paid-off single family home in upstate New York.

For me, I just work to put food on the table. I want to be average enough to he employable. Anything beyond that isn’t worth the diminishing return on investment, or a reduction in family time.

I can’t optimize my way to being genetically gifted enough to match the output of the 10x engineers who do get promoted, and I certainly can’t match their 24/7 dedication to work. Employers generally promote people for making the right person happy at the right time, not for producing the most technically competent work.
This is just awsome. I from time to time write speeches and sometimes I struggle trying to get to the next idea, this will surely help.
It seems like this would be the easiest approach but the second part of the article talks about the importance of syncing body clocks with daylight hours. If that argument has merit then we shouldn't be skipping breakfast but missing dinner.
So to catch up, AID2 is leveraging a cute offering by Google Colab which will provide any Google account a few hours of free access to a fairly powerful GPU.

To use Colab under this arrangement, each person playing the game has to load the model into their personal VM, which is being billed by Google as 6GB of data transfer from GCP into Colab.

The obvious questions;

1) Was there a place they could have hosted the model closer to Colab so that they weren’t being charged for egress bandwidth — and also, ideally, so that 6GB of data wasn’t actually being moved very far?

2) The underlying model is 6GB, but I’m curious how much memory is required for an individual user’s world state and how hard it would be to have a single GPU handling multiple user sessions?

Presumably it would be possible to multiplex multiple sessions with a single GPU? You would have to serialize the game state, receive the next input, load the prior state, feed the new input through the model, return the resulting text output, and re-serialize the state until the next input comes through.

What I don’t know if that’s at all practical based on the amount of data that would have to be serialized? Is the 6GB model data separate and static throughout the game, with an isolated block of data for the current world-state? Or does playing the game fundamentally alter the state of the model, meaning you would have to reload the whole thing just to process the next command?
Someone please explain to me why we have built electric cars so that the battery is fixed to the car and gets recharged rather than making the batteries swappable for an instant "recharge".

Sure, it moves the cost of wear and tear on batteries to the car owner rather than the fuel supplier, but since it seems it would makes such a big difference in the user experience of electric car ownership can this really be the whole explanation?
That's not true. Most insurers allow you to search by text and see an accurate estimate of what you would pay at each provider. Such features aren't universal yet but the majority of patients have access.