3,526 karma · joined Sep 5, 2024 (2y ago) · 1,155 submissions
comment 1y ago · link · parent
Strictness, I understand you cannot just slap it in, more just an idle thought.
comment 1y ago · link · parent
Which is to say, I have no real problems with the pandas API. In fact, if I could just transplant the polars strictness into pandas, that would let me keep the slightly more terse syntax.
comment 1y ago · link · parent
Polars is a v2 of a dataframe API with a lot of thought put into offering a consistent experience. Variable names are seemingly regular across the board (eg no `sep` on this method, but `delimiter` here), no Numpy int nan baggage, and no silent data type conversions do a lot to improve the robustness of the code. That it is faster is nice, but a big shrug for my typical use cases.
The loss of the index is probably the right move - the implicit column has some subtle logic which I do not miss after switching to polars.
Source: over a decade of pandas experience. There are still a few idioms for which I do not have a good polars alternative, but nothing that is a deal breaker. The syntax is overall more verbose, but I am ok with it.
comment 1y ago · link · parent
There are Power Hours which is a shot of beer every minute. Depending on the cleanliness of the pour, available glasses, you are looking at 5-7 beers in an hour.
comment 1y ago · link · parent
comment 1y ago · link · parent
As has been previously pointed out, the 2001 and 2012 quantum factorisation records may be easily matched with a dog trained to bark three times [33]. We verified this by taking a recently-calibrated reference dog, Scribble, depicted in Figure 6, and having him bark three times, thus simultaneously factorising both 15 and 21. This process wasn’t as simple as it first appeared because Scribble is very well behaved and almost never barks. Having him perform the quantum factorisation required having his owner play with him with a ball in order to encourage him to bark. It was a special performance just for this publication, because he understands the importance of evidence-based science.
I look forward to more dog-based science.comment 1y ago · link · parent
Aducanumab was approved for medical use in the United States by the Food and Drug Administration (FDA) in June 2021,[8] in a controversial decision that led to the resignation of three advisers to the FDA in the absence of evidence that the medication is effective.[9][10][11] The FDA stated that it represents a first-of-its-kind treatment approved for Alzheimer's disease and that it is the first new treatment approved for Alzheimer's since 2003.[2] Aducanumab's approval is controversial for numerous reasons including ambiguous clinical trial results regarding efficacy, the high cost of the medication and the very high rate of serious adverse events.[12][11] The FDA considers it to be a first-in-class medication.[13]
In November 2020, a panel of outside experts for the FDA concluded that a pivotal study of aducanumab failed to show strong evidence that the medication worked, citing questionable efficacy and multiple red flags found with the data analysis.[14] There were also significant health risks associated with the medication; brain swelling or brain bleeding was found in 41% of patients enrolled in the studies.[15]...
For an industry expert who has had nothing good to say about it, I would consult some of the writings from Derek Lowe. Here is a link to when Biogen pulled the drug[1] and a blurb from Derek This was a debacle. The entire process (as far as I can see) did no one any good whatsoever - not Alzheimer's patients (first in line), not Biogen, not the FDA. All that talk about how the approval was a "transformational breakthough" (Biogen's PR) is, well, "inoperative" as they used to say in the Nixon administration. In fact, I would argue that the Aduhelm saga has ended up doing a lot of actual damage. It set a precedent, the "Well, they approved this, so why not that?" kind that just sits around causing trouble year after year. Biogen, for example, says that they are now devoting their energies to their second anti-amyloid antibody therapy, lecanemab (Leqembi), but sourpuss that I am, I'm not impressed with that one, either. That's because I think that it is unlikely to actually make a difference to Alzheimer's patients, their families, or their caregivers, while at the same time exposing those patients to risks that are a lot easier to quantify than the drug's possible benefits....
[0] https://en.wikipedia.org/wiki/Aducanumab
[1]comment 1y ago · link · parent
That being said, I am not sure why an interested party could not make their own knock-off version of the game. The game is a parody 60s James Bond with a female lead. Would anyone care if it was functionally the exact same game, but everyone was wearing a funny hat?
comment 1y ago · link · parent
comment 1y ago · link · parent
Which is to say, in N years, will the Caddy defaults be full of some unfortunate decisions?
Caddy and Traefik have been around for a while now, so curious what has prevented the boring technology from essentially flipping some defaults around.
comment 1y ago · link · parent
# %%
import polars as pl
# %%
df = pl.DataFrame()
df.shape
# %%
def foobar():
return 1
Since it is a regular .py file all of your existing tooling will work with it. The one thing you lose vs a Jupyter notebook is saved output. I mostly use these .py files, but have a few .ipynb notebook files for when I want to commit the output from some important task.comment 1y ago · link · parent
comment 1y ago · link · parent
Peak coal was in 2007, and has been falling rapidly since. We are currently generating about 1/3 the electricity from coal in 2023 vs 2007[0].
[0] https://www.eia.gov/energyexplained/electricity/electricity-...
comment 1y ago · link · parent
Also, this is a VC backed project. Everyone has to eat, but I suspect that Turso will not go out of its way to offer a Public Domain offering or 50 year support in the way that SQLite has.
comment 1y ago · link · parent
comment 1y ago · link · parent
There were also call-outs to the facility where the Doctor was created. Sounded like a dedicated research installation which must be full of programmers.
comment 1y ago · link · parent
[0] https://store.steampowered.com/app/1970580/Backpack_Hero/
comment 1y ago · link · parent
Sun heating in Winter = awesome. Sun heating in Summer != awesome.
I am not arguing the strength of the effect, only that you must account for all seasons.
comment 1y ago · link · parent
If you are looking for a cooling solution, you could go the other way and make water chillers through a dedicated water tank. You would tie the HVAC to pipe air through a heat exchanger. Seems like all of that is well established engineering.
[0] DOE link on water heating https://www.energy.gov/energysaver/water-heating