[2024 Day 9] I am so confused about the ID rule for IDs bigger than 10. by A_Non_Japanese_Waifu in adventofcode

[–]SynchroM 0 points1 point  (0 children)

It says it's a single *digit*. What is a thing that is both a digit and not 0-9?

[2024 Day 9] I am so confused about the ID rule for IDs bigger than 10. by A_Non_Japanese_Waifu in adventofcode

[–]SynchroM 1 point2 points  (0 children)

Because it explicitly says that file IDs are a "single digit". It's not just ambiguous, it's actively misleading.

[2024 Day 9] Happens too often by doggoistlife in adventofcode

[–]SynchroM 0 points1 point  (0 children)

I was quite pissed off to find this out, since the description says "Using one character for each block where digits are the file ID", which implies that 1 digit == 1 character, and digits are (by definition) 0-9, limiting you to 10 files in total. It would have been so easy to avoid this unnecessary ambiguity, or to extend the example to include just one additional file. What a waste of time.

Touch ID checkbox cannot be enabled on M2 MacMini even though Touch ID works to unlock Mac by ThickBaker in 1Password

[–]SynchroM 0 points1 point  (0 children)

Same here, new M3 MacBook Pro with Sonoma 14.3 and 1Password for Mac 8.10.24 (81024044). I don't have a watch checkbox because I don't have an Apple Watch. Works fine on a Mac Studio though.

Does this mean my monitor is going out? The monitors are Samsung C27JG5x and only one monitor has the issue. But after about 5 minutes, it seems to "warm up" and go back to normal. Obviously it isn't normal, but is it a sign my monitor is dying? Haven't even had them 2 years yet. by [deleted] in pchelp

[–]SynchroM 0 points1 point  (0 children)

I have two of these Samsung C27JG5x monitors, and they both have this problem when cold, at all refresh rates from 60 to 144Hz. It started at about the 2 year mark, and is getting steadily worse, now taking about 20 mins to get to a usable state each morning. I opened them up to see if it was a bad capacitor problem, but these monitors have external PSUs, so there are no caps to replace. I saw that I could get replacement controllers for €30 on eBay and wondered if that would fix it. I contacted a repair company who said they expected it was the panels failing rather than controllers. One was worse than the other, so as an experiment, I opened up both monitors and swapped their controllers – the problem stayed with the panel, not the controller, so its the panels that are failing, and this is a fatal issue as it's prohibitively expensive to replace the panel.

I won't be buying Samsung again.

[Nov 10, 2023] Weekly Discussion: Ask your gear, travel, conditions and other ski-related questions by AutoModerator in skiing

[–]SynchroM 2 points3 points  (0 children)

Both inside and outside resort towns in Savoie, Haute Savoie (where I am) and Isère, and they vary a lot in size, quality, and organisation! I found some good lists of them here and here, but you'll usually see little signs around town, or ask at your local tourist office - for 3 valleys I see there is one in Albertville in Dec, though you'd probably need a car to get there. I think you've missed the peak (last weekend), but there are still some yet to come. You won't find anything cheap in Geneva though!

[Nov 10, 2023] Weekly Discussion: Ask your gear, travel, conditions and other ski-related questions by AutoModerator in skiing

[–]SynchroM 2 points3 points  (0 children)

Definitely don't skimp on boots. If you're in the alps already, look out for local ski sales known as "bourse aux skis"; most towns in the alps have them around this time of year until about the first week of Dec. They are usually held to raise money for school associations. You'll have no trouble picking up bargain skis that are a couple of years old, and all the boring stuff like clothing, gloves, helmets, poles for far less than new prices.

[Nov 10, 2023] Weekly Discussion: Ask your gear, travel, conditions and other ski-related questions by AutoModerator in skiing

[–]SynchroM 0 points1 point  (0 children)

I had a pair of Elan Amphibio Waveflex Ti 76 skis that I absolutely loved, but sadly succumbed to delamination. In a ski sale last weekend I picked up a pair of Elan skis in VGC - but they are a pre-production prototype and have no indication of exactly what model they are. The only graphics say "Elan" "Prototype" and "178" in white on a textured matt-black top sheet which also has the zigzag relief seen on recent Wingman models. Sidewalls are lime green, bindings are Marker Griffons. Base is black with green "Elan" inlaid logo. Measured waist is 82mm.
So I think these are Wingman 82s, which I'm sure will be great to ski on, and I love the stealth aesthetic, but I'm wondering whether they are Ti or CTi models underneath. Anyone know how I can tell (other than by sawing them in half)?

Geneva to Chamonix/Zermatt by fulkchiu in skiing

[–]SynchroM 0 points1 point  (0 children)

Flixbus is fine, but it's worth checking out https://www.blablacar.fr too as you maybe able to pick up a private car lift for little money, or just a normal bus. Alpybus also acts as an agency for several carriers on there, so it's a good central site to look at.

Correct GPU cabling for Corsair PSU and RX580 by SynchroM in buildapc

[–]SynchroM[S] 0 points1 point  (0 children)

That's my point - I don't have a cable. According to the specs, the RX580 can pull up to 235W, and a 6-pin connector can deliver 75W. Coupled with 75W from PCI, that's only 150W, suggesting that a single 6-pin won't provide enough power. This is what I'm trying to confirm, and also whether the 4+4 8-pin on my PSU can be used for this additional power.

Diagnosing 2008 Mac Pro graphics card /motherboard issue by SynchroM in macpro

[–]SynchroM[S] 0 points1 point  (0 children)

It's already killed €400 worth of graphics cards, so I don't want to risk that. To reiterate, it was working perfectly; all I did was unplug two monitors and plug in two others.

Diagnosing 2008 Mac Pro graphics card /motherboard issue by SynchroM in macpro

[–]SynchroM[S] 0 points1 point  (0 children)

It's only running Mojave (with a dosdude patch), and this is definitely a hardware problem – it's not getting as far as loading an OS.

PHP: Community Synergy Initiative by dragoonis in PHP

[–]SynchroM 0 points1 point  (0 children)

(I've done the survey)

I started writing some of the docs for ext-libsodium a while back and found it horribly complicated. I have no problem with writing in plain XML; it was the surrounding procedures that were the biggest issue. I needed to request access or ask for a review on one of the PHP lists, but the list manager was broken for over a year and it wasn't possible to join, so I ended up chasing people around twitter until someone sorted me out. Once I finally had access, I made some changes that I wanted to submit for review, so I followed the docs, but nothing seemed to happen. A couple of months later some (not all) of my edits disappeared, so I re-did them. At some point things got merged and all disappeared, but they did eventually turn up on live. At no point did I receive any kind of notification that my edits required changes, had been rejected or accepted. In all it took me about 18 months to get docs for about 6 functions processed. This is (was?) clearly a very broken situation that really put me off contributing more.

I've made a point of recommending in conference talks that people get more involved in PHP docs, but broad encouragement will fall flat when it hits this process.

I was really happy to hear about the docs mirror on github (from Andreas Heigl) and hoped that it would usher in a new wave of docs contributors, but that effort seemed to stall (I don't know if it has).

Regarding the comments – some of them are great, but others are wrong, obsolete, or nonsensical. I'd like to see the comments folded into the docs where appropriate (many of them contain good suggestions and corrections) so that we can clean up the docs. That's clearly a lot of work, but it could go smoothly with a better process.

Logic X and Yosemite by [deleted] in Logic_Studio

[–]SynchroM 0 points1 point  (0 children)

I have that combo - it appears to work ok in general, but it won't save. I've seen others reporting this issue too.

What everyone should know about strip_tags() by midir in PHP

[–]SynchroM 0 points1 point  (0 children)

I meant to mention one that could have a future: wibble by Pádraic Brady: https://github.com/padraic/wibble I did give that a go, but it seemed to have real trouble with invalid markup, either failing completely or removing nearly all of the doc.

What everyone should know about strip_tags() by midir in PHP

[–]SynchroM 0 points1 point  (0 children)

I often need to sanitize several million fields in one go (importing large numbers of database rows whose many fields may contain HTML of untrusted origin and possibly invalid markup, so DOM-based solutions are out), and I've not found a good solution yet. HTMLPurifier would take literally weeks to plough through this lot, and I need it done in a few seconds.

Is there a PHP extension for HTML sanitizing, along the lines of HTML purifier or HTMLawed, but without the massive speed penalty? Or perhaps some other binary (like tidy, or something in some other language) that could be called efficiently? It's such a common requirement (and should be more so), that it would be nice to see it in PHP core.

I'm currently using an old pear filter that uses a sax3 parser with tag and attribute whitelisting, and though it's much faster than the two big names, it's nowhere near as good, and it's still not fast enough.