Better HN
topnewbestaskshowjobs
Log inSign up

has2k1

468 karma · joined Sep 27, 2011 (15y ago) · 210 submissions

Submissions

comment 5mo ago · link · parent

There is this new and very promising package that adds interactivity to plotnine graphs https://y-sunflower.github.io/ninejs/.

Disclaimer: I am the author of plotnine.

comment 5mo ago · link · parent

Sorry for the confusion. Though, it is a mango tree in a mango garden! The continued development and maintenance of plotnine is supported by Posit, PBC, the same company behind the Tidyverse.

Disclaimer: I am the author.

comment 5mo ago · link · parent

If you already use plotnine, or if this has piqued your interest, the next release (v0.16.0) will bring nice capabilities.

You can get a sneak peek by installing the pre-release:

pip install --pre plotnine

Details here: https://github.com/has2k1/plotnine/issues/1031

Disclaimer: I'm the author.

comment 5y ago · link · parent

It is a summary of a rather well known book of the same title.

comment 5y ago · link · parent

See this [1] article by Martin Fowler. UML promised and pushed for more control over how much of the program it could sketch/model.

1. https://martinfowler.com/bliki/UmlMode.html

comment 5y ago · link · parent

It depends on how many decimal places you are printing

    >>> f'{b:.54f}'
    0.299999999999999988897769753748434595763683319091796875
    >>> f'{x:.16g}'
    0.3
    >>> f'{x:.17g}'
    0.29999999999999999

comment 5y ago · link · parent

Plotnine uses other packages in the scientific Python ecosystem. That is probably where the abbreviations that irk you come from. In some cases those "abbreviations" have roots 20 years deep!

comment 6y ago · link · parent

There is geothermal energy if it has a molten core.

comment 6y ago · link · parent

An interesting note is, the footprints where formed on the supercontinent Pangea.

comment 6y ago · link · parent

I think it would be helpful for discourse if you read the article in full.

comment 6y ago · link · parent

May be strange at a first glance but binary/boolean logic/reasoning/quantification is just a special case of probability theory. This is covered exhaustively in Probability Theory: The Logic Science, by E.T Jaynes.

And so "tend" and "iron law" are interpreted as assertions of different levels of certainty, where "tend" implies a certainty greater than 50% and "iron law" a certainty closer to 100%.

comment 6y ago · link · parent

"One of history’s fews iron laws is that luxuries tend to become necessities and to spawn new obligations." Sapiens, By Yuval Noah Harari

This quote stood out for me when I read Sapiens.

comment 6y ago · link · parent

Given that Chroloquine has been around for a long time and that it is well studied, is there any merit to assume that using it was not a random idea and that it works against some other known RNA viruses?

comment 6y ago · link · parent

It is not straight forward but look into the Second-Digit Benford's Law (2BL-test).

comment 6y ago · link · parent

I have been through this path of trying to figure out why pandas Groupby is slow. It is a big bottleneck when building packages on top of pandas.

comment 6y ago · link · parent

Water is a good insulator, but not a perfect insulator. If the temperature difference between the bottom and top changes so does the heat transfer and given time the effects will spread. But most important is, warm water/moisture is less dense than cooler water, that means large heat transfer by convection currents in addition to the low conduction (inverse of insulation).

comment 6y ago · link · parent

> or artificially cool surface ocean water

Good curiosity, but they would have to put out atleast an equal amount of heat into the atmosphere! (2nd law of thermodynamics).

comment 6y ago · link · parent

I recall reading a story of some bank robbers taking beta-blockers prior to the "job".

comment 6y ago · link · parent

It seems unethical if you do it by gene drive. But what if you add some natural randomness to the process and other desirable objectives. Imagine a dating service with a DNA database and you can match up people whose offspring could potentially be very subservient.

What if the full effect is expected after matching 5 generations of people?

What if the real goal is to create a fraction of people more attentive to minding about the environment and total blissful subservience is just a bi-product? For the good of the human race!

comment 6y ago · link · parent

Thank you, very interesting geography. Any theories on how the river broke through the mountain range, i.e. the timeline for the erosion?

From my speculative chair, it looks like the river existed before the ranges.

comment 6y ago · link · parent

You cannot choose your allegiance and stick with it. The reality is that there is always various types of evidence to contend with.

Chances are if you were a physicist/cosmologist you would be of the same opinion as the majority because you would be exposed to just about the same evidence.

comment 6y ago · link · parent

> if you're calculations don't fit, then your mathematics is not suitable, so change the math before you change the physical description

Physics is littered with mathematical formulations predicting new phenomenon (forces and particles).

> What is the relationship between dark matter and dark energy

There is no known relationship between dark matter and dark energy. They could have been called unknown matter and unknown energy! The absence of a good account for each does not infer a relationship between the two.

comment 6y ago · link · parent

Thanks for the excerpt of the study, it is interesting. As persistent stress causes visible signs of aging, for example the seemingly accelerated growth of gray hair and wrinkles of U.S presidents, it is not big a leap to suspect more.

comment 6y ago · link · parent

It is possible to imagine a potential casual process that leads to earlier death. What if pessimism creates a constant presence of key stress hormones (Adrenaline, Cortisol and Norepinephrine) and these are already linked to higher likelihoods of heart disease, cancer, ...

comment 6y ago · link · parent

To me it does not seem like it is proof by contradiction, or maybe not in the straight forward way that contradictions are used in proofs. It just happens to think about the problem in a complementary (of complement sets ...) way.

comment 7y ago · link · parent

The graphs are independent and you can easily read each. What kind of comparisons do you want amongst them? Other than the 2 of them, the y axes of the graphs have different units.

comment 7y ago · link · parent

We live in a large N-Dimensional world of knowledge. Everyone at some point is guaranteed to have missed something "they should know", both according to themselves and according to others.

Many times you encounter such knowledge when you are not ready for it, so you forget having encountered it. A good way to convince yourself of this is to start opening up some of your old college text books and look at the chapter introductions and conclusions. You will find some insights that you simply missed regardless of how you performed in the classes.

comment 7y ago · link · parent

> What if there's a natural/alien occurring culling of some kind and we somehow slipped through and now we are alone ?

You are referring to what is known as "The Great Filter". The more troubling question is, What if we are alone because all the more advanced civilizations have been culled?

comment 7y ago · link · parent

It is a thought experiment, you have to engage with it charitably.

comment 7y ago · link · parent

Just because there is a continuum does not mean specific points along the continuum cannot be identified and tagged as distinct from all other points. There are humans and there are dolphins two different species. It is analogous to the colour spectrum, there is red and there is blue two different colours.
1234567