skysight-inc/HackerNews huggingface dataset:
Offer a friend (that will keep you honest) an amount of money that would be extremely painful to lose if you don't hit your target. This is how I quit smoking 10 year ago. It's also how I'm down 80 lbs in the last 12 months.

Very easy to stick to rules when there's an unreasonably large fine for breaking them.
Bulgaria, Greece, Serbia, Macedonia, Hungary, Romania
The best explanation I've read about monads was actually in a blog, written in Python. When you jettison the burrito analogies, category theory and all that stuff, it's actually not all that bad.

I can't find the page, unfortunately.

In essence, think of a monad as something that takes a callback function. The callback function returns something. The monad calls the callback, and then does something based on the result. Once you get that into your head, it becomes a lot easier to understand what's going on.
I guess you're addressing the question correctly, giving "weird" tips. How does this not just turn into self-loathing and depression that drives you to become worse and worse though?
Exercise just makes you more hungry and leads to eating more. It's blatantly obvious the solution is to eat less.
Is it? Don't his patients have a right to know that he's a fraud?
Carbs increase insulin more than fat or protein. Insulin is a fat storage hormone, so having carbs with your meals means you’re likely going to store more of the calories you consumed as fat.
Oh but when they do!
Wouldn't that still allow advertisers to track you through your IP or other means?
I wonder what the advertising company in charge of the world's most popular browser would have to say about that.
A little bit of carbon (2-4%) and silicon. Otherwise it's just iron.

It should also be noted that with a properly seasoned cast iron pan, the food isn't interacting as much directly with the iron, since the seasoning layer (polymerized fats) is in the way.
Is there any possibility that humans could be similar given that not every couple can have children naturally?
Eat more!

specifically, eat "zero calorie" veggies before meals. Like raw mushrooms or peppers, or steamed cauliflower and broccoli. (not roasted with oil, and no butter added).

Then continue eating as you normally would. Helps in 2 ways:

1. you're taking up space, so you won't be able to eat as much calorie filled food
2. you're more conscious about what you're eating, which makes you think more carefully about what you're eating
I love the idea. Gliders would need some guidance to get to the targets (and should rely primarily on inertial navigation). The mothership would be a high value target, however, and for the gliders to cover a longer range, it'd need to fly at a higher altitude. Ideally the gliders should be dropped from uncontested airspace from an altitude high enough for them to reach their targets.
Automotive, pharma, banking, insurance, business software - but only in their headquarters and main locations, and only after couple of years of employment.
Change your diet, but only make changes that you can see yourself following for the next 10 years. The main exception is verified health concerns (ex: Control your blood sugar if the doctor has told you too).

What this really means in practice: You won't be able to cut all sweets and treats, but surely you can commit to having them less often. You can eat less meat and more vegetables. Eat more legumes and more whole grains when you can stomach them. These changes eventually become normal, and really there is no failing. At the end of the week, if you are able to do this 4-5 days, you are better off than if you didn't. Always focus on a better overall diet. And in general, doing this means fewer calories consumed. Reasoning for this: If you eat more vegetables (for example), those vegetables generally replaces higher calorie foods. Since nothing is realistically off limits, the times when you really miss having (favorite food) are minimized.

You'll also probably want to eat less. For me, this means eating more at a time of day when I'm the most hungry: Evenings. I eat little during the day, and more at my evening meal. As a bonus, I feel completely satisfied (full!) after my evening meal, and that is a wonderful feeling.

If you can, work in more accidental activity. Walk to the store if one is close enough, for example. Walk the dog more, play with children in active ways, and so on. These don't seem like exercise, per se. Of course, if you like an exercise or activity, by all means, do that more.

Edit: I almost forgot to add to get rid of sugary drinks in general. This includes diet drinks - the taste sugary, and this is what you should get away from. I personally tend to drink only water or black coffee on a normal day. When I drink soda and other things, I tend to drink the fully sugared one. Also, if you drink alcohol, you probably have calories there.
If you’re doing a low carb diet, you probably want high fat and moderate protein.
Just count calories, I managed to lose 30kg just doing 2200 kcal per day.

You don't have to exercise, just consider this a progress bar for the day (I used calorie counting apps on iPhone or Apple Watch).

This is not medical advice, but you don't have to be a martyr while doing this - you can still eat 4x Big Mac, Salad (with light sauce) and Coke Zero per day and have 200 kcal of wiggle room for a Snickers.

You will lose weight, but this is not really good for blood pressure/cholesterol, but it works ¯\_(ツ)_/¯
Show HN: Web viewer for gene measurements (single data file and OpenSeadragon)
A few years back I lost 15kg, mostly driven by a few lifestyle changes:

- consistent meal times. Previously my meal window would be 2-3 hours wide, leading to increased amounts of hunger.

- less stress. Apparently this is different depending on the person, but stress can increase weight (I’m sure there are a ton of other health issues it causes too).

- avoid snacking too much. No hard and fast rule, just remind yourself you have a meal coming up.
It's quite interesting reading James' writing from 10 years ago, having read Atomic Habits (in which he talks about his self-publishing extensively). The site layout and theming, the writing style, the choice of subject... I can really see it being used as a case study in effective modern communication by future generations of students.
It does seem we all have very different physiologies when it comes to this stuff! I find aerobic exercise distressing, for example, but it makes a lot of people feel great. Meanwhile I could eat white rice three times a day for the next year and not be that bothered.

I guess this is why there are so many approaches to losing weight - one size does not fit all, although ultimately the calorie calculation comes into play from one direction or another.
Hydrocarbon fuels are a lot more energy dense than batteries or hydrogen (with tankage), so they are needed for things like long distance flight for now.
You can just average your calories over the day and have three smaller meals.
It wasn't without a reason. He was cheating, some pressure appeared, he cheated more, more pressure was applied. He still continued cheating to get his name at the top of world records - even more pressure. He still refused to admit the wrong doings or even stop committing more.

>>A general point regarding cheating: Do you have any idea how many amateur athletes are doping? And never get caught or called out?

Sure. Most top guys at 40+ are on something. Some are caught and banned. Often their names are published with a little syringe next to results.
Most aren't caught. What does it have to do with anything?
Hey, author of Fornjot here. Thank you for the encouraging words!

> I do believe there is a commercial market for this to - a cheaper and easer to use kernal to build cad products on would be very welcome, I could see the potatial for commercial investment in a open source kernal. I have a Mechanical/Industrial Design background as well as Software and often get tempted to try and build various CAD tool ideas I have, having a good modern foundation to build upon would be brilliant.

I'd love to get there one day! I've already been in contact with potential commercial users (well, one), but very understandably, they'd like to see more progress before taking a bet on such an early-stage project.

For now, I'm relying on sponsorship from the community. It's not enough to cover my living costs yet, but the growth is there. I'm optimistic that it will reach a sustainable level before I run out of money.
Ah and you can consider saving calories like saving money.

You can take out a loan on a cheat day, but you have to pay it in the end by eating less for next days.
Thanks for addressing motivation. That's what I struggle with, and this comment definitely resonated with me. It's still something I need to find.
I'm logged in, can see the recipes and other user created meal plan pages, but don't see any way to create my own.
Jewish writers from former Soviet Union watch invasion with fear, dread
Musk claims he was coerced into settling with the SEC over ‘funding secured’
It seems a 64-bit OS is required for the Docker image, which gives me an excuse to upgrade my Pi model B to version 4.
I've tried this, and on its own, it works really, really well. It does what I want, and gets me less distraction on websites. All in all great.

Where it started not working so well was in conjunction with NoScript (which I've started using recently).

Then on some pages, it stalls, showing a notification while waiting for a consent-dialog to show up, before eventually giving up. But because of NoScript the dialog itself is blocked and will never show up.

In these cases Consent-O-Matic is actually creating a bigger distraction than it needs to.

Would be nice to see that addressed somehow :)
To try it out, click the button "open some example data files and layouts".

About the software design:

All pyramidal photo tiles and gene expression measurement data are combined into one single file.

Instead of downloading the whole experiment data file, the viewer makes use of HTTP Range requests to first download an index and then only fetch the relevant parts of the file. The viewer can also be used offline for viewing locally stored experiment data files.

To avoid flickering while zooming in and out, the measurement points were painted on the photo tiles instead of making use of an overlay. The software is open source and availalbe on GitHub

https://github.com/eriksjolund/osd-spot-viewer

https://github.com/eriksjolund/st_exp_protobuf

Tweet from today
https://twitter.com/eriksjolundcomp/status/15018687107845529...
As a populous nation whose economy is based primarily on manufacturing, natural resources is the main thing that China would want to obtain from any other nation, particularly one with whom it shares the sixth-longest international border.
Sure I agree. Password is a strong first, bookmarks is a second but still very essential and history a fairly distant third. But Firefox and Chrome both have these so I don't feel like downgrading to not having them.

BTW, I would like to have live sessions where I can have the same tab session open on a second computer/phone, or connect to different tab sessions from different computers. I don't think anyone currently offers this.
The Post-Pandemic Geography of the U.S. Tech Economy
I was a fat kid. I suspect what changed was I started, consciously, pursuing things that I was afraid. I had a stutter, so simply forcing myself into public speaking situations terrified me. Once I managed to get my stutter better handled, I found I was losing a lot of weight from a stressful appetite loss. Wanted to lose more weight, I pursued more things that frightened me, and again I experienced stressed appetite loss, and weight loss.

Today, decades later, I still pursue things that trigger stressful appetite loss, but that has become the opposite issue. I'm thin, but addicted to pursuing intellectual goals that are frighteningly difficult. I often have to force myself to eat.
I've found this youtube channel, The Galen Foundation, founded by a cardiologist really informative: https://www.youtube.com/channel/UCUp8SWTLsEC6Mn8ExztMIjA

There's a bunch of talks, the earlier ones (Fat lies, Bittersweet Truth) cover how 'we' got to where we are, and the later ones (Fasting for Survival and the followup on Addiction) about intermittent fasting itself as a strong part of the solution.

Personally have started intermittent fasting also termed time restricted feeding, and early signs are positive and its not particularly challenging as far as hunger goes.
It takes a shift of mindset.

In my experiment with alternating day fasting, I was surprised how quickly I was able to look forward to a meal that was 18 hours away.

Was I interested in eating sooner? Yes. But you learn quickly the difference between hunger as desire and hunger as need. 99% of what we feel in our lives wrt food is hunger as desire.

Caloric restriction is a requirement of sustainable weight loss, there are no weird hacks around it.
C's malloc and C++ new are pretty different.

malloc is a typically C very low level allocator feature, actually it's barely even a whole feature, it's just the memory allocation step when you're presumably going to want to put something in this expanse of emptiness. Or maybe being C you will forget to do so and then be astonished it's nonsense.

new is a C++ operator that either does the allocation and calls a constructor for one or more objects to fill that newly allocated space or it runs constructors on memory you already got from somewhere else (this use of the same operator is called "placement new" because C++ cannot get enough overloading)

It is very strange to assume allocation in your operators, no other examples beyond C++ come to mind, but most of new's work is running constructors, which don't exist in C.
You can't outrun a fork.
It's not a stupid question. When you judge others about how much they donate, do you hold yourself to the same standard?

I donated 1 month of my paycheck to Ukraine. And notice how I'm not complaining that anyone donated too little. I think Ukraine can use any help they can get. And if the Chinese Red Cross donates whatever, that is great.

If you donated a lot, then I agree that you're allowed to judge others. But as long as you don't hold yourself to your own standard, I suggest you look in the mirror first.
Hey, author of Fornjot here.

> Yes, I think he's being rather naive about that.

Oh yes, definitely :-)

Not in the sense that I think it's going to be easy, or anything like that. But I'm definitely (and consciously) focusing on the immediate next steps, while not really having a long-term plan. I do have enough of an idea of what I want to achieve, to know which direction to go in. And I'm doing that one step at a time.

This is definitely not the only way of tackling such a large problem. Someone else might approach this with a big vision and a solid plan, then use that to find the funding. I don't think either approach is inherently better, but the incremental approach is definitely a better fit for me.

> Starting with flat surfaces and straight lines is really ignoring the hard problems and will likely require a complete rewrite later. IMHO support for NURBS surfaces is a requirement for CAD and export/import of STEP files as well.

That's fair. And there are other valid criticisms as well, for example so far everything is single-threaded and CPU-based[1], which most likely won't do long term.

The thing is, I'm not capable of designing and then implementing a multi-threaded NURBS-based CAD kernel. I lack the expertise and experience. But what I can do, is design/implement this CAD kernel in an incremental way, step by step. One could argue, what's happening right now is the design process, and the implementation is just a useful side effect.

And we shouldn't forget, OpenSCAD exists and has its place. Something that's 80% as powerful, but has easy support for chamfers (and maybe some other goodies), would already be very useful to a lot of people. I'd rather focus on that and improve from there, than risk not getting anywhere, because I tried to tackle all the hard problems at once.

> Having said that, if he keeps going it will be a good thing.

Thanks! Maybe coupling the encouragement with criticism makes it more effective, not 100% sure :-)

---

[1] What I mean is, everything in the CAD kernel is CPU-based. The graphics are done using a GPU, of course.
Weighing daily and seeing the trend was what worked for me, and encouraged me to stick to my fairly brutal diet. Went from 250 to 180lbs over five months or so - and that was 15 years ago, and have maintained myself at ~180lbs, as seeing the hard evidence that “don’t stick it in your gob, you don’t need it” works has allowed me to continue on that principle.

Before the scale, I’d always bemoan that it was impossible for me to lose weight, that it was genetic, that it wasn’t under my control. More than anything, it made me realise that it was entirely in my control, and that my excuses were bullshit borne of not being able to perceive the outcomes of my previous, short-lived efforts.
I was with you until “air and water pollution” as I expected the much more obvious cause of “obesity and lack of exercise”.
"Nightmare" is a bit strong; that seems like a very normal and straightforward refactoring step... iff you avoided putting the low-level stuff into your public API.
>Aren’t all of the above equally capable of carrying and transmitting the virus?

No. If I had Covid a month ago and recovered then baring a compromised immune system or new variant I am not going to get it again this month. So I am not "equally capable of carrying and transmitting the virus" compared to someone who "had neither a vaccine or covid".
What if you have a "module" within your private code?

An example I have is in a pay computation engine. I have a public function that computes how much someone ought to get paid for a given shift based on who was working the shift, what they were doing and a bunch of other criteria, what day they were working on, what time of day, etc.

Within that I have a private function that works a with a narrower scope that just does the pro-rata calculation for time-of-day and day-of-week. That function itself has a fairly high-level interface with a highly complex implementation. IMO it makes sense to test that function, even though that function is private and is only used by the one public function.

My point being whether it's private or public isn't really the point. The key thing is whether the functionality is self-contained and decoupled from the rest of the code with a stable interface.
Have a purpose for losing weight. One that you can keep in mind all the time. Even if it's not the most noble one, like sleeping with a girl you dream about.

Also, don't eat pizza, burgers, beer, soda, bread, rice, pasta, sugar or any desserts. Stick to grilled meat, eggs, bacon, chicken, fish, milk, cheese, yogurt and lots of greens.

Keep your mind occupied and don't forget you reason for doing it.
Hemochromatosis is a relatively common condition in Irish men that has been blamed on genetics, I wonder if the Irish preference for cereal based breakfasts and stout drinking exacerbates the issue? A friends dad has recently been diagnosed and he has to have a pint of blood drawn every week.
I've been exploring "weird" approaches to health improvement (including weight loss) for years.

In response to your post: it's not necessarily the case that more oxygen will lead to positive outcomes. Respiratory illnesses like asthma and sleep apnea can be caused by overbreathing/hyperventilation. The lungs need to maintain a certain level of CO2 in order for oxygen to be properly absorbed into the blood, and where this hyperventilation happens, the CO2 drops too low, blood oxygen drops, and the impulse to overbreathe is further exacerbated.

If you're looking at oxygen/CO2 levels as a potential means of improved weight loss, look into the Buteyko Breathing Method, which teaches you to breathe so that your oxygen and CO2 stays in optimal balance.

Another big thing to look at is metal toxicity; mercury, lead, aluminium, cadmium, as well as bio-unavailable forms of iron and copper are the most common.

It's worth investigating if these are present, and look at natural ways of removing them. I'd avoid chemical chelation, but moderate use of saunas, and natural detoxifiers like cilantro are worth considering - though seek professional advice before undertaking any such approach.

Other than that, I've lost about 5-6 kg in the past few months, just by ensuring I walk plenty each day (7000 steps works for me), and keeping my sugars/carbs down so that I'm just in very-mild ketosis in the morning and the evening. There's nothing extreme about it; I'm not avoiding anything altogether and not feeling at all deprived, just ensuring I'm burning off more than I'm storing each day. (Regular barbell/dumbbell sets through out the day can help with this too, especially if you're not able to walk that much.)
Book/vape/music/stereo-shop cashier. You'll have to be present, won't get paid much, but you'll rarely ever have to work.
That works for you because you enjoy cooking. If you hate cooking then one meal per day is much better because you only have to do the thing you don't like doing once per day instead of 3+.
People are more complicated than that. It sounds like he was an incredibly generous and loving person, there were queues of people saying how much he had helped them.

That in no way justifies what he did, at all, but it's not the case that he was an unremitting lowlife. It's a real conundrum, that otherwise wonderful people can sometimes do terrible things.
Take up cooking your own food from scratch as a hobby.

Instead of worrying about how much you eat, worry about what you eat.

Stop drinking sweetened drinks. Stop eating refined carbs.
You do realize “cutaneous adverse reactions such as dermatitis” is just a rash right?
Do some exercise. But wat h out: a lot of exercises will increase your body mass because you will build muscle!

So, in other words: you may want to lose some fat but you may also want to con very some body mass from fat to muscle.

=> do not only rely only on the number on the balance.
Hi! On behalf of my Ukrainian friends and girlfriend, thank you for wanting to help.

Here is the official government portal for the war in Ukraine, with a variety of ways to help listed:

https://war.ukraine.ua/

If you’re okay with your donations being used for defensive and potentially offensive purposes, donating to Come Back Alive is one of the most impactful ways you can put your money to work. They post reports of what they do with donations as well:

https://www.comebackalive.in.ua/donate

As a techie, if you wish to donate your own time, there are communities you can join as well where you can have a significant impact. Depending where your skills are, you can help refugees and relocation organisations, for example. Personally, I’ve been learning Ukrainian for my girlfriend, and I’ve been helping and encouraging others to do so as well, including gifting language learning subscriptions — it’s another way to donate time to the country as it preserves a culture in danger and gets the Anglosphere closer to Ukraine (which will be especially useful post war)
Personally speaking, it's easier for me to endure a whole morning without food than going to bed feeling an empty stomach. But if it works better that way for you then by all means skip dinner.
So those aren't a third sex, it's individuals with both male and female reproductive cells.
How do geometric constraint solvers work, broadly? I know how constraint logic programming works (roughly!) with techniques like backtracking and so on.

I guess you can randomly adjust points, check the constraints and iterate, but that sounds inefficient.
There's also this proposition that holocaust survivors live longer. Might there be differences in their lifestyle that reduces exceed iron?

https://www.usnews.com/news/best-countries/articles/2019-01-....