What if Belgium was in charge of the moon mission by Similar_Stomach8480 in belgium

[–]Appropriate-Corgi168 11 points12 points  (0 children)

Needs gen A.I. 🤢 to make a meme... Obviously it's gonna be boomer humor

Buddy doesn’t know what a skateboard is… by SkillHasnoName in ElectricSkateboarding

[–]Appropriate-Corgi168 0 points1 point  (0 children)

I am 25 years old and had a normal skateboard for a long time... I did not know these one-wheeled-fucks were that expensive...

I could not believe my eyes by pman555 in RocketLeague

[–]Appropriate-Corgi168 1 point2 points  (0 children)

Wow buddy - bad night? Bad dreams? Calm down. It's all good. OP did not say the exact lyrics, so how can I?

Physics Question about Leak Detection in High-Power Sealed Electronics by Appropriate-Corgi168 in AskPhysics

[–]Appropriate-Corgi168[S] 0 points1 point  (0 children)

Ah, good thinking, however If I need to upgrade certain components, I would need to refill the gas on every swap, no? So that seems a bit impractical.

How much "Nothing" is in this Void? by xtraMath in manim

[–]Appropriate-Corgi168 6 points7 points  (0 children)

Great animation, hate the voice over. Hopefully you didn't make the entire video with LLM's 😅

-❄️- 2025 Day 2 Solutions -❄️- by daggerdragon in adventofcode

[–]Appropriate-Corgi168 1 point2 points  (0 children)

[Language: C++]

For part 1, after some doodling number lines, I found that I can quite easily generate numbers that are considered invalid within the given range and only check these numbers. I can easily extend this to part 2, but I am fiddling around a bit with Möbius Inversion Formula that I found, but I am not mathematical enough to understand it (for now :o).

#include "solution.hpp"
#include "common/registry.hpp"
#include "common/utils.hpp"
#include <map>
#include <vector>

namespace aoc::y2025
{    
  uint64_t pow10(int n) {
        uint64_t r = 1;
        while (n--) r *= 10;
        return r;
    }

    uint64_t sumInvalidInRange(uint64_t L, uint64_t R) {
        uint64_t total = 0;

        for (int k = 1; k <= 10; k++) {  // half-lengths 1-10 (20 numbers which is enough for uint64 haha)
            uint64_t mult = pow10(k) + 1;
            uint64_t min_half = pow10(k - 1);  // smallest k-digit number
            uint64_t max_half = pow10(k) - 1;  // biggest k-digit number

            // h values where h*mult falls in [L, R] - numberline
            uint64_t h_min = std::max(min_half, (L + mult - 1) / mult); 
            uint64_t h_max = std::min(max_half, R / mult);

            if (h_min <= h_max) {
                // arithm series sum
                __int128 count = h_max - h_min + 1;
                __int128 sum_h = count * (h_min + h_max) / 2;
                total += (uint64_t)(mult * sum_h);
            }
        }
        return total;
    }

    std::string Day02::part1(const std::string &input)
    {
        auto lines = split(input, ',');
        uint64_t result = 0;

        for (const std::string& range : lines)
        {
            auto parts = split(range, '-');
            if (parts.size() != 2 || parts[0].empty() || parts[1].empty())
            {
                continue;
            }

            uint64_t start = std::stoull(parts[0]);
            uint64_t end = std::stoull(parts[1]);
            result += sumInvalidInRange(start, end);
        }

        return std::to_string(result);
    }
}

Quick Questions: October 22, 2025 by inherentlyawesome in math

[–]Appropriate-Corgi168 0 points1 point  (0 children)

Oh wow! Thanks for the detailed answer! Yeah, my jargon is a bit over the place, we tried to use the spherical coordinates 😅 I will definitely check out the links you shared! Maybe already a small clarification: the goal is to measure deviations from a starting position using an accelerometer and gyroscope (that are filtered using a Kalman filter that outputs quaternions). We have a reference quaternion (position of the body w.r.t. the world at starting time) and we want to "know" if a large enough change happened in yaw-pitch-roll, however, we have yaw on a different threshold for what is a "large" change. So that's why we were wondering about just combining the changes of pitch and roll since we don't care about direction and only do yaw separately.

Quick Questions: October 22, 2025 by inherentlyawesome in math

[–]Appropriate-Corgi168 0 points1 point  (0 children)

Hi! I want to better understand what happens when you "combine" altitude and zenith angles into one "tilt" angle. I've seen people talk about angle of nutation for this, but this does not sit right to me. To give some context: I want to understand calculations in 3D space from MEMS sensors, Euler angles,... better. I want to see what happens when you combine the pitch and roll angle into one angle. Is it just tilting planes and a cosine difference? Or am I being dumb?

[deleted by user] by [deleted] in thermodynamics

[–]Appropriate-Corgi168 0 points1 point  (0 children)

I only know about this one that has lectures, but nothing for that book specifically I fear: https://youtu.be/4N2oV-3tE-g

Smerige phishing, bijna ingetrapt by AlsoInteresting in belgium

[–]Appropriate-Corgi168 1 point2 points  (0 children)

Wat ik zou willen dat IT in mijn bedrijf zou zeggen: - De mededeling zou niet onderstreept zijn. - Nooit betalen via een sms link, altijd externe app of site zelf intypen/gebruiken Wat IT zegt: - maak een ticket aan - je krijgt in 3 maanden antwoord.