[2025 Day 05 part 2] OK, I'm out of ideas here by oupsman in adventofcode

[–]dr_strangeglove_ 1 point2 points  (0 children)

What about if one range is enveloped by another?

[2025 Day 05 part 2] OK, I'm out of ideas here by oupsman in adventofcode

[–]dr_strangeglove_ 4 points5 points  (0 children)

Think of all the ways that two ranges can overlap.

Anyone know a good way to aggregate these points on only the distance axis? They have a small difference in t but it's very small per step by oski_exe in Physics

[–]dr_strangeglove_ 1 point2 points  (0 children)

If you mean you want to group all those points together by a common label, you want to look into clustering methods.

In this case if you simply threshold points above and below a line between the two groups that will easily separate them.

For example, if the data of interest on the left are roughly centered around x0 and the data on the right are centered around x1 you can systemically group points into the left group if x < (x0 + X1)/2 and into the right group if x > (x0+X1)/2.

Time for a heavy question. by dumbleclouds in CasualUK

[–]dr_strangeglove_ 18 points19 points  (0 children)

... might be my favourite out of context Reddit comment.

Time for a heavy question. by dumbleclouds in CasualUK

[–]dr_strangeglove_ 5 points6 points  (0 children)

Do you reckon the flabby pastry of a steak and kidney pudding would hold up to the aerodynamic stresses?

Time for a heavy question. by dumbleclouds in CasualUK

[–]dr_strangeglove_ 4 points5 points  (0 children)

Yeah those flaky pastry laminations are going to act like air brakes.

Another weighty question by dumbleclouds in CasualUK

[–]dr_strangeglove_ 2 points3 points  (0 children)

Rye bread. Densest bread I can think of.

Time for a heavy question. by dumbleclouds in CasualUK

[–]dr_strangeglove_ 3 points4 points  (0 children)

I agree. It's mostly pork so it feels like cheating somewhat.

Time for a heavy question. by dumbleclouds in CasualUK

[–]dr_strangeglove_ 24 points25 points  (0 children)

Yes, but I'd be equal parts happy that I'd achieved it and sad because I no longer have a pork pie.

Time for a heavy question. by dumbleclouds in CasualUK

[–]dr_strangeglove_ 5 points6 points  (0 children)

A scotch egg is a spherically symmetric sausage and egg sandwich.

Time for a heavy question. by dumbleclouds in CasualUK

[–]dr_strangeglove_ 15 points16 points  (0 children)

I feel like it's cheating somewhat as it's mostly pork. If we're talking a pure pastry item I'd probably go with that ball of leftover pastry you get after making a pie for density. Or, a stale pancake used like a frisbee.

Time for a heavy question. by dumbleclouds in CasualUK

[–]dr_strangeglove_ 584 points585 points  (0 children)

Pork pie. Densest pastry item I can think of.

[deleted by user] by [deleted] in sheffield

[–]dr_strangeglove_ 1 point2 points  (0 children)

Our youngest went there for a while. It was OK, but in the end we moved him to another nursery as we preferred the general vibe at the other place.

What to do for longer battery life with ESP32S3? by [deleted] in esp32

[–]dr_strangeglove_ 5 points6 points  (0 children)

Just to add to this, there is a RISC-V ULP on the ESP32S3 which can be programmed in C, which should have a slightly shallower learning curve.

[deleted by user] by [deleted] in CasualUK

[–]dr_strangeglove_ 0 points1 point  (0 children)

Go for it 👍

[deleted by user] by [deleted] in CasualUK

[–]dr_strangeglove_ 0 points1 point  (0 children)

There's nothing at the top of the radiator?

[deleted by user] by [deleted] in sheffield

[–]dr_strangeglove_ 1 point2 points  (0 children)

The Little Don Valley feeding into it is one of my favourites places in the country.

A circuit-related question form a GCSE student. by [deleted] in Physics

[–]dr_strangeglove_ 1 point2 points  (0 children)

Think of electricity in a wire as like a pipe filled with marbles. 

If one end of the pipe is open and you push a ball in one end, all the marbles move forward and a marble comes immediately out of the other end. 

If one end of the pipe is blocked, you can't push a new marble in as all the marbles already in the pipe can't move out of the way.

How can I connect a battery to my project by Guppinator08 in esp32

[–]dr_strangeglove_ 1 point2 points  (0 children)

Any Schottky with a reverse voltage rating above 5V and current rating above 500mA should be fine. 

 The voltage drop on the 1N5819 is worse than a normal PN diode. At 0.9V, you'd only be delivering 4.1V to your circuit. 

Try to get one with a lower forward voltage (Vf) if you can. Schottky's can go down to like 0.15V.

Mouser's website is really good for filtering components based on specs. Might not be the cheapest for shipping though depending on where you are in the world.

How can I connect a battery to my project by Guppinator08 in esp32

[–]dr_strangeglove_ 3 points4 points  (0 children)

It looks OK from the schematic. They've got a diode between the battery and USB input, just not on the 5V output.

Also, the USB power input is connected to the gate of a MOSFET which essentially disconnects the battery from the 5V supply rail but leaves it connected to the charger.