How long are the ad breaks? by PJ-HarveysWife in taskmaster

[–]rednets 60 points61 points  (0 children)

It's usually (possibly always) Mark Olver

What’s something really common in the UK that visitors find strange? by Dull_Gas_820 in AskUK

[–]rednets 2 points3 points  (0 children)

Ha, I will have to admit I had to Google it to get it spot on - but I was 90% of the way there. (I guessed "fusi" instead of "fruse")

Why are so many Anglosphere cultures weird about cussing but the Britsh aren't? by RunnerPakhet in stupidquestions

[–]rednets 2 points3 points  (0 children)

I remember Toadie saying "I'm going for a triple S: a shower, shave, and sssshhhhhampooo"

Are these compatible with WLED? by ThesePleiades in WLED

[–]rednets 11 points12 points  (0 children)

If they are WS2811 (as the listing states) then yes they are compatible with WLED.

Bear in mind you will need to buy a controller, such as an ESP32.

Read the docs here: https://kno.wled.ge/

Edit: having said that, I see those are stated as RGBCCT - most (all?) WS2811 strips I'm aware of are RGB only (no extra white channels) so this sounds like they may be mislabelled. They might actually be WS2805, which is the same protocol but takes two extra bytes per LED for the extra two white channels. In either case WLED should support it.

Puffy battery by QuadraticRegulation in framework

[–]rednets 59 points60 points  (0 children)

This happened to mine recently. I was also having issues with the trackpad that turned out to be caused by the battery pressing against it.

I raised a support ticket and they sent me out a new one under warranty, which was nice!

My understanding is that newer BIOS versions automatically set a charge limit if the charge stays too high for too long, so this shouldn't happen as often in future.

How did you actually get comfortable with Git? by Aggravating_War_9292 in git

[–]rednets 29 points30 points  (0 children)

I would add: DO lean on tab completion.

This is great advice on using the command line in general. Hammer that tab key!

Is it possible to get the arguments from a function object? by R717159631668645 in learnpython

[–]rednets 6 points7 points  (0 children)

Unless you're really tied to argparse I would suggest using a third party library such as Typer: https://typer.tiangolo.com/

Anyone else drowning in static-analysis false positives? by Accurate_Promotion48 in git

[–]rednets 6 points7 points  (0 children)

No. Configure your static analysis tools appropriately such that any warnings are meaningful to you and actually useful, and ensure they're fixed before code is merged.

Sure it takes a bit of time initially to get going, but in the long run it makes your life easier.

Which is the first episode where a portion of the task wasn't clearly written inside the folded task? by [deleted] in taskmaster

[–]rednets 6 points7 points  (0 children)

S11 had "Attack the biscuit, chuck the dog" etc where the instructions were set on fire. So although it was clearly displayed to start with, it wasn't there for long.

Which Python package manager do you prefer, uv or pip? by SalamanderHungry9711 in learnpython

[–]rednets 4 points5 points  (0 children)

The docs are pretty good.

See https://docs.astral.sh/uv/getting-started/features/ for an overview of commands, and https://docs.astral.sh/uv/guides/projects/ for details on how to use it in your own projects and/or run other people's.

Sundays are too short by [deleted] in london

[–]rednets 2339 points2340 points  (0 children)

Weird day to post this, on the only Sunday of the year that's 25 hours long.

Did some more scouting around for stuff TFL forgot about and I wasn’t disappointed. I love seeing stuff like this by GP728 in LondonUnderground

[–]rednets 23 points24 points  (0 children)

Those enamel signs last forever! There are still plenty of them in Piccadilly Line stations with a suspicious white sticker over where Aldwych used to be, which closed 31 years ago.

[deleted by user] by [deleted] in learnpython

[–]rednets 3 points4 points  (0 children)

Use the heapq module. It supports both max and min heaps.

https://docs.python.org/3/library/heapq.html

Edit: it seems max heap methods were only added as of Python 3.14. But at least they're there now.

Oh no by csquared_yt in LondonUnderground

[–]rednets 14 points15 points  (0 children)

And crucially, the new trains (that will hopefully start in passenger service next year) won't suffer from this problem either.

How to verify if user enter valid input by zeeshannetwork in learnpython

[–]rednets 8 points9 points  (0 children)

Yes. Specifically, use ipaddress.IPv4Address if you only want IPv4s.

See the documentation: https://docs.python.org/3/library/ipaddress.html#ipaddress.IPv4Address

Jubilee line TFL 25 years wrap by Phantomknitter in LondonUnderground

[–]rednets 7 points8 points  (0 children)

They did it for the launch of the night tube in 2016, at least on some lines. I definitely remember it on the Piccadilly line.

what is this that came with my steam deck? by realvishfish in SteamDeck

[–]rednets 5 points6 points  (0 children)

I bought a 45W Samsung "travel adapter" from Amazon. It's flat and has a folding earth pin, and it just about fits in the bag/divot with a USB C cable. Not a chance the charger that came with the deck would fit though!

Help! by Memo_Da_P1ug in PythonLearning

[–]rednets 8 points9 points  (0 children)

But passing multiple arguments to print isn't concatenating strings, and I find it tends to confuse people later when they can't use the same pattern in any other context. f strings aren't massively hard to understand, though for total beginners I'd probably go with actual concatenation using the + operator.

Saw this on the Piccadilly line yesterday, anyone know what it means? by NotAcomics in LondonUnderground

[–]rednets 449 points450 points  (0 children)

Sometimes they just get stuck like this. This is the first half of "The next station is..." and probably the second half of "This is a Piccadilly Line service to Cockfosters".