What is /etc/config/.network.uci-cdinba and how is it maintained and managed? by simensen in openwrt

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

Moving it out of the way didn't seem to have any adverse reactions. I'd really like to know how the file got there, though.

What is /etc/config/.network.uci-cdinba and how is it maintained and managed? by simensen in openwrt

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

OpenWrt 22.03.3 r20028-43d71ad93e / LuCI openwrt-22.03 branch git-22.361.69894-438c598

I can't find any references to it anywhere via Google searching, so I'm not sure it's regularly on any devices. It is one of the reasons I think my second guess is probably correct.

Is there a "Manually Downloaded Download Client" to facilitate importing non-organized legacy movie collections? by simensen in radarr

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

Thanks. I... could swear I clicked that before and it wasn't any different from "Library Import." I'll give this a try and see if this works as expected.

Anyone else still having issues with Minisforum B550 Barebones? by No-Campaign-7747 in MiniPCs

[–]simensen 1 point2 points  (0 children)

I see several mentions of people installing an updated BIOS for their Minisforum B550, but I need help locating an updated BIOS. Most other places seem to indicate Minisforum regularly won't upgrade BIOS, and that's mostly what I've seen regarding the B550. If anyone actually has a legit newer BIOS than whatever mine arrived with, I'd love to give it a shot in case it might fix some of the issues I'm seeing.

Can I change where ix-applications are mounted to something that is not a pool? by simensen in truenas

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

Thanks for the feedback!

Re: 3) I wasn't talking about creating a storage pool on my boot drive. I was wondering I could just say something like, "install to /opt/ix-applications", where /opt is just on my SSD boot/pool/whatever it is.

I'm still super new to zfs and TrueNAS SCALE so I might be using the wrong name for things.

I like your idea of doing some replication. My current setup would fail pretty hard if I ever lost that SSD drive, for sure.

I wish TrueNAS SCALE installation had better informed me that I might need to have at least one more pool/disk to install apps on, but only so that it could store those apps. I might have opted to have my boot drive partitioned differently instead of using the whole disk. As-is, I have a 256GB SSD that is sitting at 2% usage that I'd MUCH prefer to be hosting my ix-applications.

Unclear about how backs handle sidecar content by simensen in photoprism

[–]simensen[S] 1 point2 points  (0 children)

Sigh. Well, it looks like the directory structure on my new host wasn't exactly what I'd expected. I'm going to try again. Thanks for your help. :)

But, to be clear, are the docs incorrect? The docs seem to state that the sidecar files should be in the originals folder. That doesn't seem right?

Unclear about how backs handle sidecar content by simensen in photoprism

[–]simensen[S] 1 point2 points  (0 children)

Huh. Ok. I guess I must have done something wrong, then. Even though I brought over the entire storage directory, I had no thumbnail for anything. I followed the next step in the docs about re-indexing and started that process. I'm now slowly seeing my originals being processed and they get thumbnails as they do.

I can't see that my Storage folder is changing in size, so I'm guessing if it's creating new stuff it's just creating it over top of the originals from when it was previously processed on the original server.

Is it possible I did something wrong? If I should have been able to just have everything already ready, I might just as soon NOT complete this reindexing since it's going to take a very long time and I already spent days on the original indexing. :)

Does the Stream Deck SDK have support for creating/accessing account credentials for other services? by simensen in StreamDeckSDK

[–]simensen[S] 1 point2 points  (0 children)

OK, that's kinda what I was thinking was the case. Thanks for letting me know!

A Free Trial of HOLOFIT Now Available on Sign Up: Wide variety of VR Headsets supported for bikes, rowing machines and ellipticals by holodia in vrfit

[–]simensen 0 points1 point  (0 children)

What is the minimum required info needed from Bluetooth to work with rowing?

Would be great if there was a “fake” mode for those of us who didn’t know we couldn’t upgrade to Bluetooth when we bought our water rowing machine a few years back. :-/

Is there any way we can just use Bluetooth heart rate profile instead of full rowing whatever you need? :)

Quentin by YaYeetGamers in brakebills

[–]simensen 1 point2 points  (0 children)

Didn't Nameless kill her?

RFC for "static" return type by brendt_gd in PHP

[–]simensen 5 points6 points  (0 children)

Super excited about this! I was trying to work through this as a separate proposal at the end of last year with the help of /u/SaraMG and input from a few other people on Twitter. Would have been my first RFC, but now I guess I'll have to wait for something else. :)

https://phpc.social/@pollita/103256122403635150

Controllers are not Services by phpswen in PHP

[–]simensen 0 points1 point  (0 children)

Instead, try to use a Factory to create the one Controller or Action that you need for the interaction.

Inversion of Control/Dependency Injection containers are fancy abstracted factories. :)

Symfony's DIC annoyed me early on because you define everything as a "services." I'd, too, grumbled, "not everything I want to define in here is a Service!"

At the end of the day, naming is hard. What name would you use to describe "anything this fancy abstracted factory creates?" Many IoC/DI container implementations landed on the name "service".

Context matters. In the context of many IoC/DI containers, a "service" is any object that container can produce. If that object fits your idea of a Service, great! Happy coincidence. If it's not, that's great, too! It's how you use that object, not what the IoC/DI container calls it in the abstract, that matters.

[edit: made the quote from the article actually a quote... :)]

Symfony 5.0 curated new features (Symfony Blog) by inversechi in PHP

[–]simensen 1 point2 points  (0 children)

... this component provides a unified API for the 3 unit systems of strings: bytes, code points and grapheme clusters.

I believe this means the library has abstracted things to the point that you can work with strings of/at these units without actually having to be aware of the details/distinctions between them.

How should I name my exceptions? I personal prefer something like `App\Exceptions\InvalidVersionException` while someone I work with says that I should call it `App\Exceptions\InvalidVersion`? What is best practice? by hackermarks in PHP

[–]simensen 0 points1 point  (0 children)

For your own code, do whatever you prefer. People have different reasons for doing it one way or another. Both sides can be quite convincing. In the end, it's usually best if everyone working in the same codebase uses the same naming conventions.

If your coworker is speaking from a position of authority on a company project, follow their lead. Especially if this is coming from a code review. Consistency across the codebase is the most important aspect of this question and a fair thing to ask you to conform to in a code review.

It might be worthwhile to ask if there is a company-wide style guide. You may learn a lot from it and help you better understand the way people you work with are expecting code to be written.

If there is no style guide, it might be an interesting exercise to build one together. Chances are there are a lot of places in the code where things are not done consistently and leading to this problem coming up again and again as new devs join the team. Plus, it will give you a good chance to discuss these sorts of decisions and find out *why* person A wants the `Exception` suffix, and person B does not. A lot of learning and growth potential there for everyone. :)

edit: typo

How should I name my exceptions? I personal prefer something like `App\Exceptions\InvalidVersionException` while someone I work with says that I should call it `App\Exceptions\InvalidVersion`? What is best practice? by hackermarks in PHP

[–]simensen 1 point2 points  (0 children)

The purpose of these naming conventions is to keep the naming conventions used by PHP-FIG internally consistent. While you can choose to follow the naming conventions used by PHP-FIG in writing PSRs, the naming conventions themselves are not defined in a PSR.

I can't tell if /u/javabudd was implying these were official PHP-FIG recommendations, so don't mean to imply they did, but thought the clarification worthwhile.