1,831 karma · joined Mar 10, 2008 (18y ago) · 554 submissions
comment 1y ago · link · parent
> A compiler for C/C++/Rust could turn that kind of expression into three operations: load the value of x, multiply it by two, and then store the result. In Python, however, there is a long list of operations that have to be performed, starting with finding the type of p, calling its __getattribute__() method, through unboxing p.x and 2, to finally boxing the result, which requires memory allocation. None of that is dependent on whether Python is interpreted or not, those steps are required based on the language semantics.
comment 1y ago · link · parent
> Another "myth" is that Python is slow because it is interpreted; again, there is some truth to that, but interpretation is only a small part of what makes Python slow.
He concedes its slow, he's just saying it's not related to how interpreted it is.
comment 2y ago · link · parent
> So correlation is likely just a data artifact of poor data analysis and nothing to do with intermittent fasting?
You have no idea whether the data analysis is good or not; the only thing that was released is the abstract.
comment 4y ago · link · parent
comment 5y ago · link · parent
https://slimemoldtimemold.com/2021/07/11/a-chemical-hunger-p...
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
> There’s just one problem: If it weren’t for Bitcoin, there would almost certainly be no reason to run the power plant in Dresden at all. Without the revenue from mining, Greenidge would have no reason to spew hundreds of thousands of tons of carbon dioxide from the plant’s stacks, discharge hundreds of billions of gallons of hot water into a nearby trout stream, or pipe in and burn billions of cubic feet of fracked natural gas.
comment 5y ago · link · parent
if you're doing a linear algebra like transformation, you want to do it on all the prices or all the quantities, and a linear algebra library expects a big array of numbers, which is why you have to transform your records into an array of prices and an array of quantities.
"column" here refers to properties of objects, and not rows vs columns with in an array of number
comment 5y ago · link · parent
The article doesn't say anything about droplets or the number of viral particles you get exposed to. From the article:
> hydration of the respiratory tract is known to benefit the immune system.
comment 5y ago · link · parent
short selling does not increase the number of shares. if i borrow a share from you and sell it, you cannot also sell that share. the number of shares is constant regardless of how many shares are sold short (except for naked short selling).
short selling increases the number of people that can sell, but that only increases symmetry in an otherwise asymmetrical system. anyone can bet that the price goes up, but without short selling, only people that already bought can bet that the price will go down.
> there's always going to be a perverse incentive to target any company so long as you can manipulate the supply enough to force a price drop
what is "manipulative" about selling a stock? if i buy a bunch of stock (to make the price go up), is that also "manipulation"?
comment 5y ago · link · parent
No, this is not true. When you sell short (with some exceptions for market makers), you are obligated to "find" shares to borrow (called "locates"). Usually your broker arranges this; any shares that you borrow cannot be lent to someone else. If you do not have any borrowed shares (as recorded by the broker), that is considered a "naked short sell".
comment 5y ago · link · parent
Yes. As someone lending out a share (for someone else to short), you can't know whether the person you bought it from had borrowed it to sell it to you.
Let's say you bought a share of stock. Can you lend it to someone for them to short sell? Of course. You own the share, regardless of how many people it passed through to get to you.
comment 5y ago · link · parent
1. this gender gap begins very early (kindergarden), before the majority of "women in STEM" programs begin
2. are international (i'm fairly certain they don't have women in STEM programs in China, for example)
3. it doesn't explain why the differences are inversely related to income level (do you think there are more "women in STEM" programs at lower income levels?)
4. this difference is very old (>50 years of this effect)