Live data from Hacker News

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

medicalxpress.com

341–350 of 394 posts

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

#341
post #282
post #135

Earlier quoted context omitted.

It only looks for a single leading “e” or “i”, not any number. I’m guessing those tweaks were added to capture specific proper nouns that weren’t captured by simpler “leading capital letter” regexes, like “iPad” or “eBay”.

"*" is "0 or more" and "+" is "1 or more", it looks for any number of "e" or "i" at the beginning and at least one capital letter. The diagram below the regex is wrong. Instead of [ie]*-?[A-Z]+ it looks like they wanted [ie]?-?[A-Z]

There was a product called the eeePC or so. It was a "netbook."

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

#342

Earlier quoted context omitted.

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

It did, but I kinda went over the top with it once and dang had to tell me off, so it might be they added filtering.

o, there's your problem. Only half is supposed to go over the top. The rest is supposed to go below.

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

#343
post #122

Earlier quoted context omitted.

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

Notepad++ has /x mode as well.

I probably use regexes the most in notepad++

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

#344

Earlier quoted context omitted.

[flagged]

my grandma always said her knee hurts when it's about to rain

Ive heard it has to do with barometric pressure. But I guess that's hard to test. I don't know if they make vacuum room facilities.

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

#345
post #91

Earlier quoted context omitted.

my grandma always said her knee hurts when it's about to rain

Not sure what this adds, I believe your grandma over any LLM

parse this in the way that makes it so I'm not being a jerk. Are you as prejudiced against weather models or just large-language ones?

I have been waiting to ask someone this.

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

#346
post #282

Earlier quoted context omitted.

"*" is "0 or more" and "+" is "1 or more", it looks for any number of "e" or "i" at the beginning and at least one capital letter. The diagram below the regex is wrong. Instead of [ie]*-?[A-Z]+ it looks like they wanted [ie]?-?[A-Z]

There was a product called the eeePC or so. It was a "netbook."

The Asus product line, yes (all three Es apparently stand for "easy"). But Asus write it with a capital E on the front. Still, somebody else might not.

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

#347
post #300
post #167

Earlier quoted context omitted.

There’s negative cardiovascular effects from excess muscle just as with excess fat. Normally that’s offset by the health effects of the exercise required to gain and maintain them as well as the lack of medical conditions that prevent exercise etc. But a fat person losing weight should inherently lose muscle mass long term assuming no changes to lifestyle.

I was looking for this comment! Not a doctor, but as I understand it muscle is roughly equivalent to fat as far as your heart’s workload is concerned. I thought I also read that muscle movement helps with blood return.

Muscle movement is also necessary for the limbic system to function.

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

#348
post #146

Earlier quoted context omitted.

Is that an anti-pattern to put the comment inside the function vs above

Function documentation goes inside functions in Python, explicitly making them self-documenting. That can then be automatically picked up by any other code (like tooling for automatically generating API documentation) formalized as PEP 257, https://peps.python.org/pep-0257 Python will literally assign the content of your docstring (a triple-quoted string at the start of a function) to a special double underscored ("d…

Annoyingly it pushes the type definitions away from the function body when you have a particularly long doc. It’s a cute trick but docs above would have been better.

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

#349

Earlier quoted context omitted.

Even so, competition from other GLP-1 drugs and generic semaglutide should make prices and profits lower.

If the companies combined can meet demand

They seem to be able to offer it at $300 if you pay without insurance. The implication being that they make 50 extra bucks because the insurance company only pays $250 for your $1,000 prescription.

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

#350

They are not gonna tell us the source of the molecule? I wanna know which berries or legumes to consume... damnit!!!

Pretty hard to go wrong with blueberries. I'm not saying that they contain the molecule, but I mean, they're generally good for you.
Post reply on HN