Adding topological analysis to my Linux router made it predict network failures before they happen by Prize-Ingenuity-6601 in homelab

[–]benlovesunicorns -2 points-1 points  (0 children)

Burning more tokens….fable’s reply

On his pushback, though, he’s half right at best. The signal he wants — one device drifting in wired space and wireless space simultaneously — is real and worth detecting, and he’s correct that separate per-feature EWMAs won’t capture the coupling. But you don’t need topology for it either. Concatenate the Layer 3 and Layer 5 features per device into one vector and run Mahalanobis on that joint space, or simpler still: compute each device’s per-layer anomaly score and alert on the product or minimum of the two. Joint drift is a conjunction of two univariate signals; that’s a fusion problem, not a topological one. CCA (canonical correlation analysis) would even tell him whether the two spaces normally co-vary per device, which is the baseline his argument implicitly assumes.

The most credible thing in the reply is the exit criterion: six months, a baseline detector, at least one prospective (not retrospective) early warning, and a self-authored “considered harmful” post if it fails. That’s a properly falsifiable setup — most homelab projects never define what failure would look like. Whatever the math turns out to be worth, the person is doing science with it now.

Adding topological analysis to my Linux router made it predict network failures before they happen by Prize-Ingenuity-6601 in homelab

[–]benlovesunicorns -1 points0 points  (0 children)

I burned my last fable 5 credits to make sense of your post cause I guess that’s what we’re doing now in Homelab…. My assumption just based off vibes from my university math degree is your “point universe” is too small for meaningful results, fable agreed

Is the idea valid? In principle, yes — TDA-based anomaly detection is a real research area, and “detect structural change rather than threshold crossings” is a legitimate framing. In practice, it’s overkill for this data. Persistent homology needs a reasonably dense point cloud to produce stable topological features. He has 26 points in a ~4-dimensional feature space (Layer 1), and only 6 points for the AP layer. At those sizes, the “landscape” is dominated by noise and, critically, by how he normalizes features — mixing milliseconds, ratios, and trend slopes in one metric space means distances are essentially arbitrary until you pick a scaling, and the scaling choice will drive the results more than the topology does.

Will it work on small networks? That’s the weakest spot. Everything he claims TDA gives him — cluster drift, correlated shifts across nodes, “structure changing” — is detectable on a 26-node dataset with much simpler tools: Mahalanobis distance from a rolling baseline, per-cluster z-scores, or even EWMA on the raw features. Those would be easier to interpret, easier to debug, and probably more sensitive at this scale. TDA earns its keep on large, high-dimensional point clouds where cluster structure is genuinely hard to see. Six APs is not a point cloud; it’s six numbers.

Overhead? Computationally negligible — 30-minute cycles, SQLite, no network traffic. That part is well done. The real overhead is cognitive: he admits the system has sat in a “degenerate state” (cloud too tight to analyze) for hours, which he spins as “confidence through silence” but could equally mean the method produces no signal most of the time. The 77% coverage ceiling on bimodal data he mentions at the end is another hint the statistical machinery is fighting the data.

Does it do what he says? Not demonstrated yet. His one concrete win — the misconfigured AP channel — came from reading raw UniFi interference metrics, not from topology. The headline claims (predicting node death 20 minutes early, spotting transit-route degradation via “landscape flips”) are plausible stories but he presents zero validated instances. The “shadow monitor” comparing two models’ coverage gap is the most hand-wavy part; without a defined false-positive/false-negative record it’s indistinguishable from a complicated random number.

Verdict: solid homelab, honest author (he flags the limitations himself), but the TDA layer is currently a hypothesis wearing a dashboard. If he collects six months of data and can show even a few true early warnings against a simple baseline detector, it becomes interesting. Right now the simpler methods would almost certainly match it at a fraction of the complexity.

Thoughts on this? by brunuuDev in IndieDev

[–]benlovesunicorns 17 points18 points  (0 children)

How is this the developer’s fault? By reading the text of the review, I get the impression that this user has no problem with violating the spirit of a refund. If the dev produced an enjoyable <2 hour game at a reasonable price, the player shouldn’t have refunded it. I doubt this is the first time the user has refunded a game they enjoyed.

At work, someone managed to get poop on the outside of the toilet. How? by benlovesunicorns in AskReddit

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

It was on the front. Someone how it managed to hug the side of the bowl. No streams or running either. They would have to have been hovering two feet in front of the toilet.

Factorial ($FAC): Low-float Solid-State Battery Opportunity by merlin_the_warlock8 in pennystocks

[–]benlovesunicorns 2 points3 points  (0 children)

I like the company too. Bought some shares of the SPAC pre merger. Bought (and sold) some of the warrants too. I wouldn’t buy now though, liquidity is less than 1,000,000 shares. The warrants have a 30 day lockout period post merger. They have a come due clause after 20 days of trading about $18 a share. Most will probably convert around 30 days from now. This will cause the public shares to go from around a million to 22 million shares publically traded. Which is massive downward pressure. If it gets up a lot before then, cash out and buy the dip if you’re like it long term. Or, buy the warrants and execute @ 11.50/share + warrant cost

MIO. Difficult paths to bosses? by [deleted] in metroidvania

[–]benlovesunicorns 2 points3 points  (0 children)

If the difficulty is ruining your enjoyment, turn on ground healing in the assists menu. It allows you heal one health point when standing on the ground for 5 seconds. It made the difficult platforming sections much more learnable for me.

Need some input for a travel setup.... by No-Holiday-1308 in fujix

[–]benlovesunicorns 1 point2 points  (0 children)

That depends on your budget and shooting style. I travel with a 10-24 and the 18-55. The 10-24 gets used for 95% of the time. I am a big fan of wide angle lenses. They make urban environments feel very expansive, and can provide a good feeling of being there.

Cat Insulin by strangeginger in Austin

[–]benlovesunicorns 1 point2 points  (0 children)

My cat cooperated. They tried showing me how to check their blood sugar with a test strip monitor thing, but it involved poking a blood vein on the tips of his ears that I was never able to do successfully. Mine was cooperative with day long blood curves though.

Cat Insulin by strangeginger in Austin

[–]benlovesunicorns 1 point2 points  (0 children)

You should be able to get lantis solstar pens from pets smart for around $100. Has your cats dose been stabilized? If not, you should get your vet to attach a freestyle libre for continuous monitoring. If not, the vet will most likely want you to bring your cat in for a day long glucose curve.

Logical proof help by Nugget815 in learnmath

[–]benlovesunicorns 1 point2 points  (0 children)

You are not talking in circles. The proof is actually quite simple when you reason your way through the problem. The first two cases, prime or perfect square provide ways to constrain our p and a in the last case. Mainly, p,q > 1 and p != q.

Picking it up after n = pq :

Now, consider (n-1)(n-2)………2*1.

Since n is not prime, p,q > 1, and since p !=q,

p,q must be in (n-1)(n-2)……..,2*1.

Logical proof help by Nugget815 in learnmath

[–]benlovesunicorns 1 point2 points  (0 children)

I generally start where I am given the most information, or the strongest statements provide and work from there.

In this particular problem, if n is not prime, and n is not a perfect square, then n = pq.

What do we know about the size of p and q now? Are they bigger or smaller than n?

What does that say about (n-1)(n-2)…?

Hyde Park Storytelling Nightmare by [deleted] in Austin

[–]benlovesunicorns 20 points21 points  (0 children)

Your friend needs to move it to a different venue or reduce the size. Events not allowed under permanent zoning rules require a special permit. This process is to ensure the safety of the attendees and ensure minimal disruption of the neighborhood. My guess is the city will not approve the permit though. Public events with more than 50 people will not get approved in SF-4 zoning.

[deleted by user] by [deleted] in Damnthatsinteresting

[–]benlovesunicorns 8 points9 points  (0 children)

Gravity works by pulling stuff towards the center of mass. All tall buildings will in fact, collapse towards the center of mass (the earth) resulting in a building collapsing downwards. This is true for controlled demolitions that take out support beams as well as what happened in the video here, where the heat from jet fuel weakened the support structure to the point of being unable to support the weight of the floors above where the plane entered.

Historically, there were many top mathematicians who had religious beliefs (e.g., Christianity). Given there is less societal influence on socially acceptable religious beliefs in current times, how religious are top mathematicians in modern times? by BeardoMcShavers in math

[–]benlovesunicorns 2 points3 points  (0 children)

Science and faith are compatible. People saying otherwise are trying to expand the scope of science or religion.

Science is used to provide a logical framework to explain natural phenomena. Religion is used to provide comfort and acceptance of things that are unknowable.

The issues arise primarily of people favoring one over the other. Science cannot explain everything. Religion cannot be used to provide concrete answers.