HNHacker News
TopNewBestAskShowJobs

andylei

1,831 karma · joined March 10, 2008

submissionscomments
andylei··on Fallout from the AWS outage: Smart mattresses go rogue
your furnace doesn't know what temperature your house is if the furnace isn't connected to a thermostat
andylei··on Python performance myths and fairy tales
i'll answer your argument with the initial paragraph you quoted:

> 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.

andylei··on Python performance myths and fairy tales
The previous paragraph is

> 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.

andylei··on Google cuts mystery check to US in bid to sidestep jury trial
case would still happen, just without a jury (maybe)
andylei··on Intermittent fasting linked to a 91% higher risk of cardiovascular death
No, that's a quote from someone they interviewed who hasn't read the full paper (the full paper is not yet available). They are saying that the details of the study will determine how significant the results are.

> 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.

andylei··on Bed Bath and Beyond files for bankruptcy
BBBY is not in any major indices
andylei··on New York City hiring top rat killer
but also

> Proficiency with Microsoft Word, Excel, PowerPoint

andylei··on Meta is not threatening to leave Europe
i mean, then they wouldn't?
andylei··on Oh, 2022
> nobody in the 20th century imagined that within just two decades we'd be able to sequence the genome of a new pathogen within days, much less hours, or design a new vaccine within two weeks and have it in human clinical trials a month later
andylei··on CFTC Orders JPMorgan to Pay Record $920M for Spoofing and Manipulation (2020)
they did charge them: https://www.cftc.gov/PressRoom/PressReleases/8013-19
andylei··on Restaurant workers quit at record rate
but you still can't get unemployment if you voluntarily leave your job
andylei··on A Chemical Hunger: Mysteries
the author of the post refutes the carbohydrate hypothesis here:

https://slimemoldtimemold.com/2021/07/11/a-chemical-hunger-p...

andylei··on A Chemical Hunger: Mysteries
This is covered in the second part of the article: https://slimemoldtimemold.com/2021/07/11/a-chemical-hunger-p...
andylei··on Five Former Treasury Secretaries: Fund the IRS
> simple and flat taxes

what is a flat tax?

is it something like: "everyone pays 5%"? if so, how does that solve the problem of misreporting?

andylei··on Federal judge blocks Florida law aimed at punishing social media companies
The incorporation doctrine applies the bill of rights to state governments: https://en.wikipedia.org/wiki/Incorporation_of_the_Bill_of_R...
andylei··on Bitcoin gave a shuttered coal plant a second life
the article is about how it's a bad thing:

> 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.

andylei··on Apache Arrow 4.0
"column" here refers to a type of data. let's say you have a bunch of records of purchases. one column would be price, another column would be quantity.

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

andylei··on Researchers propose that humidity from masks may lessen severity of Covid-19
> Humidity affects the dessication of droplets, which in turn shifts what fraction become airborne (as aerosols) or settle out (as droplets). In the tiny enclosed volume between your face and your mask, that difference doesn't matter, because the whole volume is exchanged multiple times with each breath.

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.

andylei··on A Sober Look at SPACs (2020)
> by the Wall Street-funded academic paper

citation needed

andylei··on Counterfeiting Stock – Explaining illegal naked shorting and stock manipulation
> You can drive the price down simply by inflating the supply

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"?

andylei··on Why Robinhood disabled buys but not sells
> it's absolutely a conspiracy

I think a "conspiracy" requires some sort of actual coordination. A bunch of actors doing the same thing for the same underlying reason isn't a conspiracy. Lots of people going to sleep when it gets dark isn't a conspiracy.

andylei··on Statement of SEC Regarding Recent Market Volatility
> I'm not a domain expert, but it would seem that whether or not something was sold naked is ultimately determined in the instant that you are obligated to deliver

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".

andylei··on Statement of SEC Regarding Recent Market Volatility
> You can get more the 100% without naked shorts, sure, but is that legal?, does SEC allow that?

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.

andylei··on Class Action Lawsuit Filed Against Robinhood
clearing is totally separate from flow
andylei··on Why are boys academically underperforming? [audio]
Your STEM example explains very little of this gender gap. The article says:

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)

andylei··on Hospital employee fired for ‘intentionally’ ruining 500 doses of vaccine
> Two days later, the employee acknowledged having “intentionally removed the vaccine from refrigeration,” the hospital, Aurora Medical Center in Grafton, Wis., said in a statement late Wednesday.

from the article

andylei··on YouTube will now show ads on all videos even if creators don’t want them
youtube is still free
andylei··on Forth implemented in Rust trait system
> Rust's trait system is Turing complete

has anyone tried implementing rust in rust's trait system

andylei··on Wikipedia Lost 3B Organic Search Visits to Google in 2019
https://developers.google.com/search/reference/robots_meta_t...
andylei··on Trading Is Hazardous to Your Wealth [pdf] (2000)
actually, on average, all strategies will perform the same as the market.

another way of saying this is: the average of all trading strategies is the market.

Page 1 of 18Next →