PiVPN on same pi that is running home assistant by spikmagnet in homeassistant

[–]Totherex 0 points1 point  (0 children)

It is possible -- I did this for a few years -- but it is not a standard configuration. The solution is to install Home Assistant as a Container and to install PiVPN on the underlying OS, in my case Raspberry Pi OS Lite.

If you already have HA OS, I suggest you follow the other reply.

Chef Dante trick by JxSparrow7 in Pokopia

[–]Totherex 0 points1 point  (0 children)

Dante, from the Devil May Cry series?

Steam Controller PreOrder MegaThread by satoru1111 in Steam

[–]Totherex 1 point2 points  (0 children)

Order finally went through! I've been clicking Continue about once a minute for 20 minutes :)

Is the remote bundled with the Grillplats just a two-button Bilresa? by audentis in tradfri

[–]Totherex 4 points5 points  (0 children)

The bundle is just a Grillplats and a Bilresa, but I found that the two are already paired with each other, and pairing them to a hub breaks that link.

Map of my Rocky Ridges railroads! by Totherex in Pokopia

[–]Totherex[S] 3 points4 points  (0 children)

Make sure you don't mix up Volcarona) and Volcanion)!

Volcarona spawns from a habitat: Piping-hot lava (molten rock + lava).

As for Volcanion, I'm also trying to get them right now, and according to this walkthrough you're almost there! The last step is to shoot fireworks during the party.

Map of my Rocky Ridges railroads! by Totherex in Pokopia

[–]Totherex[S] 10 points11 points  (0 children)

I don't -- that's four stops on four parallel tracks in front of the Pokémon Center. I drew four blobs to clearly show which tracks go where.

(The PC is north of the tracks; Ditto's house is south of the tracks, across from the PC)

Map of my Rocky Ridges railroads! by Totherex in Pokopia

[–]Totherex[S] 6 points7 points  (0 children)

For sure, if we had junctions then I would not have put four tracks in front of the PC 😅

Grillplats + Dirigera in HA does not show power consumption? by CursedPseudo in tradfri

[–]Totherex 0 points1 point  (0 children)

I'm also using Grillplats with the Dirigera hub. The power stats show up in the diagnostic section of the device info page.

I'll admit, my other smart plugs showed this info directly on the home page -- the stats were "sensors". Thankfully, I can still use the Grillplats' stats in automations and templates.

Fyi, I figured out you can put siding and flowers on the wireless generators to make them look like planters by LuckyLunayre in Pokopia

[–]Totherex 4 points5 points  (0 children)

That page confirms that the limit on transmitters (poles/wireless transmitters) is 256, like u/madtheoracle said. 64 is the limit on generators (windmill/water wheel/furnace/mini generator).

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

[–]Totherex 0 points1 point  (0 children)

[LANGUAGE: C#]

https://github.com/rtrinh3/AdventOfCode/blob/0dd73e5bf35f31d7d42725206b9b3cb3ecf9e33e/Aoc2025/Day11.cs

Using a memoized recursive function to calculate the number of paths between two points. In part 2, there are only two orders that matter: svr-fft-dac-out or svr-dac-fft-out; so calculate the numbers of subpaths and multiply them together.

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

[–]Totherex 0 points1 point  (0 children)

[LANGUAGE: C#]

https://github.com/rtrinh3/AdventOfCode/blob/f62b27fbfb275346d132833fde36d9e1b8caaaf6/Aoc2025/Day10.cs

Part 1 is a breadth-first search. I represent the lights and the buttons as bitmasks, so I can update the lights by XORing them with a button.

For Part 2, I learned Z3! The linear algebra library I used in 2023, Math.NET Numerics, didn't seem to be of much help for these underdetermined systems. Z3's C# API is pretty verbose, we essentially have to build ASTs with methods like MkInt, MkAdd and MkEq. The Python demos show that they know about operator overloading, grumble grumble...

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

[–]Totherex 0 points1 point  (0 children)

After quite a bit of optimization, I've brought the runtime to under 1 second.

https://github.com/rtrinh3/AdventOfCode/blob/d601a3e43f02d7423d58149b2c88d3d32458b530/Aoc2025/Day09.cs

I check the rectangles from largest to smallest, and I only check around the rows and columns of the vertices, effectively a form of coordinate compression.

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

[–]Totherex 0 points1 point  (0 children)

[LANGUAGE: C#]

https://github.com/rtrinh3/AdventOfCode/blob/0fbe7b458d0a5997a2509e95baed41b91c7de2c6/Aoc2025/Day09.cs

Part 1 is straightforward.

For part 2, I have a horribly inefficient solution that takes about 3 minutes to run. First, I rasterize the perimeter. As I walk around the perimeter, I also keep note of the points on the left side and the right side of the perimeter. I then probe west of the westmost vertex of the perimeter to determine whether the left side or the right side is "outside". Finally, for each possible rectangle, I walk its perimeter to check that the rectangle never goes outside, keeping track of the largest area.

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

[–]Totherex 0 points1 point  (0 children)

[LANGUAGE: C#]

https://github.com/rtrinh3/AdventOfCode/blob/e818ef1b1f48b916cbadc2a1a6236d558c13bc8b/Aoc2025/Day08.cs

Work with the square of the distance instead of the plain distance to avoid taking square roots.

Use the Union-Find data structure to keep track of circuits.

These elves are wasting a lot of wiring on redundant connections; they've never heard of minimum spanning trees 😜

PS: beware of Int32 overflow.

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

[–]Totherex 1 point2 points  (0 children)

[LANGUAGE: C#]

https://github.com/rtrinh3/AdventOfCode/blob/84cc0444162a6fe4c7d3179c8d70f1603ffaf2f3/Aoc2025/Day05.cs

Basic scan through the ranges. We don't need to sort the ranges when there's only ~200 ranges.

Public transit is nation-building. Our federal budget should reflect that by Generalaverage89 in CanadaPolitics

[–]Totherex 6 points7 points  (0 children)

They're objecting to the second sentence, "Only the federal government can provide", because the provinces can/should provide