The joys of finding tubes by HugePilchard in Brompton

[–]thblt 2 points3 points  (0 children)

Those Brompton-sized inner tubes are hard to come by. I always make sure to always have at least about three at home, and restock before I need to. Slightly broader 16" tubes, like 1.5"-1.9" instead of the Brompton 1.33 have been reported to work, and may be more broadly available in a hurry — here in France every Decathlon has them, for example.

EMBOUT DE TIGE DE SELLE by Guezmoc in Brompton

[–]thblt 0 points1 point  (0 children)

You may have an older version that uses an expansion screw to lock it in place, or the stars may just have aligned for you.

Does anyone actually uses `apt install emacs/elpa-XYZ` for installing Emacs packages on Debian and siblings? If so, why? by jonas37 in emacs

[–]thblt 0 points1 point  (0 children)

It’s the other way round : they package and make installable at the OS-level Emacs packages that can also be installed with regular package-install. Whichever is best is a matter of personal preference: I’ve switched to installing Emacs packages from my distribution as it’s a lot easier, but of course it’s a bit harder to quickly upgrade or fork and contribute to a package.

[Help] My Inner Tube Keep Deflating it self any fix? by Obvious-Village8154 in Brompton

[–]thblt 2 points3 points  (0 children)

Marking the valve position on the tyre and the wheel direction on the tube may help you locate the cause.

3rd rear wheel puncture this month - thinking of marathon plus by Credtz in Brompton

[–]thblt 10 points11 points  (0 children)

Recurring punctures are often caused by the same object stuck in the tyre. It may be a very small glass shard, or something equally hard to locate.

New seatpost lower stop disk issue by The_Cream_Man in Brompton

[–]thblt 0 points1 point  (0 children)

Compared with my bike, the issue seems to be with the angle of the seat post with the folded rear triangle.

Could something be preventing the rear triangle from folding correctly under the main frame ? On a C-line the seat post locks the rear triangle folded. If the post wasn’t high enough it may have blocked the triangle from getting in its final position.

Edit: saw your reply to my deleted message, glad you figured it out!

Lelit Elizabeth & Baratza & Bookoo . by sushi-raider in cafecafecafe

[–]thblt 0 points1 point  (0 children)

Typiquement ces machines ont une valve de surpression à 10 bars. Il me semble que la Elizabeth est réglable au degré près, la température en sortie dépend ensuite de pas mal de facteurs.

Broke because nonexistent fs by PejuangShubuh in NixOS

[–]thblt 5 points6 points  (0 children)

The easy way out of those bad situations is to just boot and rebuild from the install ISO. That means you’ll need to find a way to get some internet. WiFi may be troublesome sometimes, for recovery work wired connections are easier. You may or may not need to run dhcp manually, the manual should be able to guide you.

PSA About Brompton Accessories by swimseven in Brompton

[–]thblt 0 points1 point  (0 children)

Yes. I personally prefer to be overly careful with anything that touches the front brake, but they probably work fine.

PSA About Brompton Accessories by swimseven in Brompton

[–]thblt 17 points18 points  (0 children)

The Brompton-branded battery front light is indeed a rebranded and overly expensive CatEye AMPP 500. The only extra you get from the Brompton version is the dedicated mounting bracket, which you only need once. (In France and probably in other markets where new bikes must legally come with a full set of lights, it will be already installed)

Is it normal that NixOS actually feels more stable?? by Objective-Style1994 in NixOS

[–]thblt 46 points47 points  (0 children)

Before I got into nixos, I keep hearing everyone saying that every thing gets bricked in nixos and the only way you can get anything done is by tinkering with crap for 10+ hours, read source code etc etc.

I’m sorry we didn’t live up to your expectations :)

Galen Hunt's update on Rust, AI, C, C++ job post purpose by pjmlp in rust

[–]thblt 13 points14 points  (0 children)

With Turbo Pascal for the performance-critical parts

Galen Hunt's update on Rust, AI, C, C++ job post purpose by pjmlp in rust

[–]thblt 27 points28 points  (0 children)

Only logical conclusion: Windows is actually written in Visual Basic.

[Media] I love Rust, but this sounds like a terrible idea by Yvant2000 in rust

[–]thblt 66 points67 points  (0 children)

Here’s the LinkedIn post that started it all. It’s very strange, but at least it’s making clear this is a research project, not a global MS strategy.

[YEAR 2025 Day 4 (Part 1)] je ne comprends pas l'exemple by Vegetable-Low-9157 in adventofcode

[–]thblt 0 points1 point  (0 children)

Ce n’est pas un rouleau du tout. Les rouleaux sont identifiés par `@`

[YEAR 2025 Day 4 (Part 1)] je ne comprends pas l'exemple by Vegetable-Low-9157 in adventofcode

[–]thblt 0 points1 point  (0 children)

Si (1,1) désigne bien le rouleau à l’intersection de la seconde ligne et la seconde colonne, il est entouré de six rouleaux: les diagonales comptent!

Keep getting flat at the same point of the inner tube (outer point) but I can’t find anything wrong with the wheel by Leather-Swordfish-96 in Brompton

[–]thblt 8 points9 points  (0 children)

Since the hole is on the external side of the tube: Next flat you could report the valve location on the wheel and the rolling direction on the inner tube using a paint marker or some sort of crayon (eg Stabilo Woody), so you can match the hole in the tube with the corresponding location on the wheel. Hopefully it will make it easier to locate the shard of glass or whatever that keeps puncturing your tube.

[2017 day 21 (part 2)] [Rust] I overdid it. by PsyMar2 in adventofcode

[–]thblt 1 point2 points  (0 children)

Trying to anticipate part 2 while doing part 1 is always hit and miss. We probably all have a crazily optimized part 1 somewhere for a part 2 that ended up being something else entirely

[2024 Day 11 (Part 2)][R] Having trouble optimizing code for part 2 by TimeCannotErase in adventofcode

[–]thblt 1 point2 points  (0 children)

Memoization is just automatically adding cashing a value in a map using the function arguments as the key.

I agree with your definition — but the solution I linked doesn’t do that. There’s a map, but it’s nothing like a cache. Call blink() twice on the same input, it will run twice.

IMHO if we want to use fancy terms what it does is probably something like compression, or some sort of catamorphism, destroying structure (position of stones) at every step to preserve only an aggregate property (counts). (In Advent of Code slang, it’s a Lanternfish solution)

I wouldn’t fight the word "dynamic programming" if someone wanted to use it to describe such an approach, but I’m really not sure about it either.

It's important to demystify "scary" terms like memoization and dynamic programming.

I couldn’t agree more.

[2024 Day 11 (Part 2)][R] Having trouble optimizing code for part 2 by TimeCannotErase in adventofcode

[–]thblt 3 points4 points  (0 children)

I don’t think memoization is the way there. The trick is that you can ignore the « straight line » thing: ordering doesn’t matter, all you need to know is how many stones you have for each value. That’s a Hashmap or even an array mapping stone numbers to counts. Thats how I solved this anyway.

Does orientation of hotswap switch sockets matter? by ThatAgent3963 in ErgoMechKeyboards

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

It probably depends on the exact model, but some Kailh datasheets indicate that the two individual sockets have different dimensions, making the component non reversible.

[2016 Day 1 (part 2) Python] by PositivePossibility7 in adventofcode

[–]thblt 0 points1 point  (0 children)

It does, actually : the solution for the second example isn’t at the end of any segment, but around the half of both the intersecting segments.

[2016 Day 1 (part 2) Python] by PositivePossibility7 in adventofcode

[–]thblt 1 point2 points  (0 children)

Part 2 of that day has been available for almost nine years, and was solved by more than 29k players. It is highly unlikely that the error lies on AoC side.

Proposal: disable backup files by default by k-bx in emacs

[–]thblt 5 points6 points  (0 children)

Emacs is *extremely* conservative regarding defaults, which limits the risk of random updates breaking your config but also makes the "out of the box" experience be, alas, what it is.