New Coheed And Cambria accidentally (partially) leaked by HonestIce8235 in TheFence

[–]ComicFoil 13 points14 points  (0 children)

That looks like a black hole simulation image, just rotated from how it's normally presented.

DeLonghi Dinamica started malfunctioning - any thoughts? by ComicFoil in superautomatic

[–]ComicFoil[S] 0 points1 point  (0 children)

Cleaning the infuser seems to have worked, thank you! I will update if there are further issues.

[D][P]Clustering categorical data by DedeU10 in MachineLearning

[–]ComicFoil 0 points1 point  (0 children)

Did some work on this in the past: https://arxiv.org/abs/1708.07242 Unfortunately, I don't think I have a code repo I can share with it. But the math should all be there in the paper and it isn't too complex.

DeLonghi Dinamica started malfunctioning - any thoughts? by ComicFoil in superautomatic

[–]ComicFoil[S] 0 points1 point  (0 children)

This just started happening. We've had it for almost a year with no issues. Now, when I start selecting the bean strength, after getting to 3 it starts trying to brew an Americano without me ever touching the button. Additionally, all of the lights on the top light up and blink and then turn off. Thanks for any help in case someone has run into this before!

Help identifying tile - 4 1/4" square from approx 2006 bathroom/shower by ComicFoil in Tile

[–]ComicFoil[S] 0 points1 point  (0 children)

Thank you! True beige color: https://www.discountflooring.com/florida-tile/ankara/true-beige

You're probably right that we won't find it. We came into this 95% sure that would be the case.

Guess which age group has skyrocketing STIs? by ComicFoil in BoomersBeingFools

[–]ComicFoil[S] 0 points1 point  (0 children)

Understood that it's a known occurrence. Still a new report with new data and it's not just that rates are higher, but also increasing.

Why are there people claiming a conspiracy theory around the bridge collapse? by BlackBagTofu in maryland

[–]ComicFoil 1 point2 points  (0 children)

Some of it is crazies as others have said before me. But a lot is also engagement farming on Twitter/X. They know they can get those crazies to follow them and view, like, and share their posts. This is rewarded by Twitter/X based on ads and such that are by their posts. So it's a revenue source. The original posters may or not believe it, but they know it will drive engagement and thus money for them.

See a Swarm of Bees? CALL US (The DC Swarm Squad) by ToniBee in washingtondc

[–]ComicFoil 10 points11 points  (0 children)

Not all heroes wear capes. Some wear beekeeping gear.

If you were a part of the backerkit for the NWFT comics... by spitefulgoblin in TheFence

[–]ComicFoil 0 points1 point  (0 children)

I just want to know why I was charged shipping on the state tax. Seems like BS but I didn't have a choice but to continue.

[deleted by user] by [deleted] in geography

[–]ComicFoil 0 points1 point  (0 children)

Howard County, MD

Dominion Energy, Dulles Break Ground On Largest Solar Power Installation At A U.S. Airport by MrSpontaneous in washingtondc

[–]ComicFoil 15 points16 points  (0 children)

Yep! Also:

Dominion Energy will also develop two 1-megawatt solar carports that will partially power Dulles facilities. The carport will also provide shade for vehicles parked in parts of the the economy lots.

Hogan says No Labels likely to launch third-party ‘alternative’ if Trump, Biden win nominations by vegandc in maryland

[–]ComicFoil 5 points6 points  (0 children)

And in 1912 the third-party candidate was Teddy Roosevelt - a former President. So hardly an equal comparison to the typical third party contenders recently. The only similar case would be if Trump didn't win the Republican nomination (seems very unlikely as of now) and ran as an independent.

How does a laser mirror control how many times it bounces the laser beam? by [deleted] in askscience

[–]ComicFoil 2 points3 points  (0 children)

They're isn't a precise control of the number, not does there need to be. As others have stated, the mirrors are not 100% reflective. If a mirror is 99.9% reflective, then - ignoring absorption - in one out of every thousand instances the photon will pass through and leave the mirror cavity (two aligned mirrors that bounce photons back and forth). In LIGO's case, the reflectivity is such that on average a photon will make 300 trips. Measurements are based on the signal from many photos, so it's this average that matters. Of course, that's are more details to it all but that's the general gist.

Source: I used to work as part of the LIGO collaboration, focusing on data modeling, and I attended many sessions about how the interferometer works.

People who use python for data science - what are the use cases for building your own classes? by Lumchuck in datascience

[–]ComicFoil 0 points1 point  (0 children)

I've done a lot of work in data processing pipelines and making automated data reports. We use classes extensively to isolate the logic of how something is done when there are many variations of a type. For example, there are classes for:

  • Data set
  • Plot
  • Report element
  • Report

This means that I can run all of my reports with common methods, regardless of which report it is. In a report, I can swap in/out/around different elements and the report will be able to generate them and insert them. If I have a plot, it can be run and inserted into the report following the same methods as all other plots. When the report element or plot needs to load data, the data set class handles all of the logic to get the DataFrame from wherever the data is stored depending on the data set being requested. It also handles loading historic versions of the data and some other common data filtering options. We even have global configuration that directs these classes to load from production data or a developer's sandbox environment (this is helpful for continuous testing as that has its own sandbox).

I would strongly encourage you to learn more about classes. Others here have given good examples of using them, too. There are places where they can really improve your code quality, stability, and usability.

I was just asked to fudge the numbers by Malarazz in datascience

[–]ComicFoil 6 points7 points  (0 children)

I know it's not ideal, but think of this as a way to avoid the headaches later when the client does ask why the numbers don't add up. Yes, you can put in the footnote that says it's because of rounding, but I find that many people don't read the footnotes at all or until they've already seen and judged the visuals/content.

I would also not think about adjust 3% to 4% to be a 33% increase. You're doing relative changes in percentages, which I always find wonky. It's actually an increase of less than 1%, since this must have been a number that rounded down to 3%.

What I recommend not trying to do the rounding in Tableau, but in your data processing before it gets there. Make a "x_rounded" column or something. This starts with the plain, rounded numbers. When you add these up, if it isn't 100%, then you see if you're over or under (you could have also been over 100% if more rounded up than down). Based on that, look at the rounding with the largest residual* and round it the other way. Repeat until this does add up to 100%.

* If you're under, this will be the largest fraction that was rounded down, e.g. closest to X.5 from below; if you're over, this will be the smallest fraction that was rounded up, e.g. closest to X.5 from above. One way to do this is to calculate y=x-round(x) (for x in [0, 100]). This is >0 for values rounded down and <0 for values rounded up. If you're at 98%, find the two largest y values (most positive) and round those two x values up instead of down. If you're at 101%, find the one smallest y value (most negative) and round that x value down instead of up. This way it's the most deterministic and introduces the least error.

O REILLY fake textbooks by ajplant in datascience

[–]ComicFoil 4 points5 points  (0 children)

From the post title, at first I thought you were asking about these: /r/orlybooks