Live data from Hacker News

Natural occurring molecule rivals Ozempic in weight loss, sidesteps side effects

medicalxpress.com

121–130 of 394 posts

Re: Natural occurring molecule rivals Ozempic in weight loss, sidesteps side effects

#122
post #7

Delighted to discover this kind of breakthrough is based on a gnarly regular expression: https://github.com/Svensson-Lab/pro-hormone-predictor/blob/m...

Please, if you write regexes like these, comment them... A great way to do it is to split them up by concatenating them across a bunch of lines, and put a brief explanation at the end of each non-obvious part (to the right, on the same line). Plus that also lets you indent within nested parentheses, making it that much more understandable. I'm baffled when I come across a file like this where the code itself is heavi…

One thing I always appreciated about CoffeeScript was its [heregex syntax](https://coffeescript-cookbook.github.io/chapters/regular_exp...), which made regexes clear and easy to document.

Many CoffeeScript constructs were adopted into JavaScript and TypeScript, but unfortunately, heregexes weren't among them.

Re: Natural occurring molecule rivals Ozempic in weight loss, sidesteps side effects

#123
post #87

Earlier quoted context omitted.

Remember to get a license for your code https://regexlicensing.org/

On the list of disasters, they forgot "parsing html": https://stackoverflow.com/questions/1732348/regex-match-open...

Huh, I tried sharing the Zalgo answer here, but it didn't quite work, never knew HN wouldn't render those kinds of characters

Re: Natural occurring molecule rivals Ozempic in weight loss, sidesteps side effects

#124
post #98
post #7

Delighted to discover this kind of breakthrough is based on a gnarly regular expression: https://github.com/Svensson-Lab/pro-hormone-predictor/blob/m...

Is this AGI?

oh god, can you even imagine?

Re: Natural occurring molecule rivals Ozempic in weight loss, sidesteps side effects

#125
post #92

Earlier quoted context omitted.

I don't think that's the mechanism. A caloric deficit causes your system to metabolize whatever it can. It likes fat because that's energy dense, but muscle is also a good source of energy as well, and the more rapid the weight loss, the more body mass it has to burn.

As far as I know, muscle is only used when fat reserves are depleted or you don't eat enough protein for the brain's personal amino acid supply. I'm not particularly knowledgeable about this, though, maybe an expert can weigh in.

[deleted]

Re: Natural occurring molecule rivals Ozempic in weight loss, sidesteps side effects

#126

Is the muscle loss a side effect of the drug or of the weight loss?

It's nearly always a side effect of weight loss, and it's a good thing. It's confusing how people act like it's bad. If you're obese, your legs are enormously strong with crazy amounts of muscle. Have you ever seen someone obese do leg presses at the gym? They can handle tons of weight. When you lose weight, you don't need all that extra muscle . If you're carrying around 180 lbs instead of 300 lbs on your frame, all…

I think the downside is that you don't just lose muscle in your legs and core, but rather you lose muscle mass all over. Yes, this is the expected result of calorie restriction but the issue is that when people lose a lot of weight without taking action to build and maintain muscle the amount of muscle loss they experience can cause other problems. Someone relying on a GLP-1 drug is often someone who isn't very active at all.

Re: Natural occurring molecule rivals Ozempic in weight loss, sidesteps side effects

#127
post #8

Earlier quoted context omitted.

I think this is not really a charitable take. For one, nearly everything medical needs certain purity and concentration so you need specialized equipment. For two, even if a chemical is easy to produce by industrial standards, you still need to run trials to prove that it's both safe and actually does what you hope it does.

I wonder what the distinction here is between supplement and pharmaceutical. Could they have chosen to bring it to market as a supplement?

Supplements are often marketted with results from clinical trials; although typically not very rigorous trials.

Raising money to do clinical trials doesn't indicate the path to market.

Re: Natural occurring molecule rivals Ozempic in weight loss, sidesteps side effects

#128
post #66

Earlier quoted context omitted.

As far as I know GLP-1 is a naturally occurring hormone but it's not something you can just give people directly. Instead you give them artificial things like semaglutide that work on the same receptors.

You can but if I recall based on a book I read [0], you’d need to take a pill something like three or four times a day as your body naturally clears GLP-1 very quickly. The chemical has been known since the 90s, the Ozempic breakthrough was binding/mixing it with some chemical of Gila monster venom which makes your body take much longer to break down the chemical (days instead of hours). [0] Magic Pill by Johann Hari

[deleted]

Re: Natural occurring molecule rivals Ozempic in weight loss, sidesteps side effects

#129
post #3

If this really has the potential to compete with Ozempic, then it should have a noticeable impact on Novo Nordisk's stock value [1], but we're not seeing that yet. [1] https://finance.yahoo.com/quote/NVO/

I am reminded of the economist that wouldn't pick up a $20 bill at his feet because if there was a $20 bill at his feet the market would have already picked it up.

Re: Natural occurring molecule rivals Ozempic in weight loss, sidesteps side effects

#130
post #122

Earlier quoted context omitted.

Please, if you write regexes like these, comment them... A great way to do it is to split them up by concatenating them across a bunch of lines, and put a brief explanation at the end of each non-obvious part (to the right, on the same line). Plus that also lets you indent within nested parentheses, making it that much more understandable. I'm baffled when I come across a file like this where the code itself is heavi…

One thing I always appreciated about CoffeeScript was its [heregex syntax]( https://coffeescript-cookbook.github.io/chapters/regular_exp... ), which made regexes clear and easy to document. Many CoffeeScript constructs were adopted into JavaScript and TypeScript, but unfortunately, heregexes weren't among them.

I agree. I'm pretty sure jashkenas got it from Ruby, which got it from Perl, with the `/x` flag (for extended regular expressions).

Later languages have added support for the `x` flag, including C# and Rust. There is also a stage 1 proposal for JavaScript: https://github.com/tc39/proposal-regexp-x-mode

Post reply on HN