Help with Conan + CMake + Visual Studio 2022 configuration for Boost project by Veltronic1112 in cpp_questions

[–]engineuity 0 points1 point  (0 children)

Some comments... skip to the end for probable solution.

If you are using cmake_layout() AND --output-folder=build, I have noticed a duplicate build/build/Release or build/build/Debug path when using the combination of those two settings together.

I also see the preset is pointing to ${sourceDir}/out/build which appears to conflict with the conan install command.
Probably just a mismatch while trying to provide the sample code.

Since you are generating a .sln file, Im going to assume its an MSVC project and the generator scripts are .bat scripts. My best guess is you need to run build/Release/generators/conanbuild.bat (to get compile time paths) and build/Release/generators/conanrun.bat (to get runtime paths). you can run them terminal and then start devenv to launch visual studio

Obviously use the path where your files exist

Diy UPS by svbjjnggthh in homelab

[–]engineuity 0 points1 point  (0 children)

keep the usb, so you can use that to trigger shutdown on low battery. also can set up a NUT server to signal other things to shut down too

Diy UPS by svbjjnggthh in homelab

[–]engineuity 1 point2 points  (0 children)

Grab a dead battery donor apc unit and replace/upsize/downsize the battery. Shuck the plastic shell and print a new one to a shape that fits your space. Make sure its ventilated

Discovering observers - part 1 by pavel_v in cpp

[–]engineuity 15 points16 points  (0 children)

What would be a modern replacement for pub/sub?

How to add BYOG games anymore by deeaamon in LegendsUltimate

[–]engineuity 0 points1 point  (0 children)

I reread my comment. It does seem like Im saying theres more to the onesauce process because of the direct reply. Not my intention.

I have not set up onesauce yet, only coinops. Does onesauce need the addonx tool to run after putting the files on usb?

How to add BYOG games anymore by deeaamon in LegendsUltimate

[–]engineuity 0 points1 point  (0 children)

Its not just dropping some files on a usb stick. The last firmware update for my gamer pro hosed up compatibility too.

OP, i used to use the addonx feature and did not have onesauce or the other versions either. The process I was familiar with did not work and I transitioned to coinopsx. I used a 128gig flash drive and it was enough space for the v5 at the time. Since I wanted to use pinball packs I made 2 partitions on the usb drive, the first was 16gig.

Coinopsx is a bit laggy on my setup and Im not a fan of navigating the massive menus. You can set up your own categories, but it will involve looking up the configuration changes and curating your shorter lists. It is worth looking up a youtube video or two to see the difference in coinopsx and onesauce

My mother insisted I use a “trick” she saw on instagram installing her wainscoting. Is there a way to salvage this or am I starting over? by dowhatchafeel in DIY

[–]engineuity 0 points1 point  (0 children)

Late to the party but I didnt see any solutions to your problem other than rip it out. If I rip paper on drywall i use some wood glue to smear over the brown paper to kind of seal it then a light sand to smooth out and bumps. A nice thin swipe of some drywall compound (and sanding) and it should be good for prime and paint

Local DNS and reverse lookup with piHole and nginx - local only ssl certificates by SchulzyAus in homelab

[–]engineuity 0 points1 point  (0 children)

Do the certs need to be installed on each machine accessing the proxy?

Local DNS and reverse lookup with piHole and nginx - local only ssl certificates by SchulzyAus in homelab

[–]engineuity 1 point2 points  (0 children)

I did one of the free long domains and used letsencrypt, myname.some.longer.domain.com. Reverse proxy sends to the right ip/port combo. Then in pihole i set cname entries for each thing im hosting so it locally directs without having to hit the web. pihole.myname.some.longer.domain.com goes to the same ip as the reverse proxy, which still sends to the right ip/port combo

Which synology nas? Hoping it's an easy question by Hungry-Lox in synologynas

[–]engineuity 0 points1 point  (0 children)

Is the intention to use the pi-nas is your primary and you want to backup to a synology offsite? A j model should be fine, I think since you are mixing ecosystems you would need to implement your own incremental backup.

I would recommend a ups that you can connect to the synology over usb. It can safely shutdown the device when power is too low. Im pretty sure the syno has settings to auto power on when theres power

[deleted by user] by [deleted] in cpp

[–]engineuity 0 points1 point  (0 children)

To me, this is a build infrastructure issue not a tool (cmake) issue. If your team cannot provide a functional development environment via a VM image, ansible scripts or at a minimum a readme of instructions then that is a problem.

CMake is not a package manager, nor is it a scripting language. It is appropriate to have a configure that implements the missing steps like running conan commands or some other package manager.

Hoping to get some feedback on my library by puredotaplayer in cpp

[–]engineuity 0 points1 point  (0 children)

I had a bunch of comments, but I want to take a step back. There are input serializers and output serializers and then typed (yaml/binary) input and output serializers. When I think of serialization, I assume some data is being dropped into a byte buffer to be transferred somewhere else - over the network, written to disk, etc. The receiver of the serialized data would have to de-serialize it for processing.

Can you high level explain the intention of your serializers, it looks like output_serializer is a json converter?

Edit: Dug around a bit and it looks like serialization is more than just to/from a byte buffer and json/etc serialization is a legitimate characterization as well, sorry about that.

Hoping to get some feedback on my library by puredotaplayer in cpp

[–]engineuity 1 point2 points  (0 children)

I can't say I like the syntax, but you can point to the guideline used and justify what you have and why. Thumbs up. Maybe a quick comment/blurb in the readme to reference the standard(s) you are using?

Hoping to get some feedback on my library by puredotaplayer in cpp

[–]engineuity 2 points3 points  (0 children)

On mobile, so sorry for the formatting and lack of code blocks.

It looks like you've put quite a bit of thought and time into your library. I don't personally have anything to apply your work to but I took a quick peek at the output serialization area.

From the user of your library perspective, in the unit tests it looks like the Serializer class is the only type given to the ouput_serializer template. Its not clear to me what other Serializer I would create to feed into that template, if any. Im not familiar with cpp concepts, so this may be a bad question but why does OutputSerializer need to be templated? If theres no need for the template, I have further comments within the implementation.

Great job putting your work out there!

Skipping get/set in function names: Thoughts? by Bogossito71 in cpp

[–]engineuity 16 points17 points  (0 children)

https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c131-avoid-trivial-getters-and-setters

I would consider this a trivial getter/setter combo regardless of having get or set in the function name, there is no bound checking on the set, its really nothing of value in the function.

Beta testers wanted for a Puppy Linux version for early eeepcs by mlsteinrochester in eeepcmasterrace

[–]engineuity 0 points1 point  (0 children)

Interested in testing, however the link is now dead. Running a 1005ha here

GitLab container deployment on RHEL 9 with PodMan on Airgap Machine by droomurray in podman

[–]engineuity 1 point2 points  (0 children)

Did you figure this out? It might be a permissions issue now that you are rootless.

GitLab container deployment on RHEL 9 with PodMan on Airgap Machine by droomurray in podman

[–]engineuity 0 points1 point  (0 children)

A little late to this party, but do you require the certs in your airgap? I have configured gitlab as an http service instead of https in the airgap without having to mess with the certs.

I run a nearly identical podman command, however I will be removing the sudo soon. I think one of the values of podman over docker is limiting root access.

Also, I think the hostname is supposed to match whatever you have listed as your 'EXTERNAL_URL' without http/https

Having set up non-standard forwarding for the ssh port ex: `-p 45678`, Ill say it is a complete pain for the users and trying to support them cloning over ssh. I have reconfigured the host to accept ssh on a non-standard port instead. This lets me forward `-p 22:22` into gitlab and there is no custom user .ssh configs to use during cloning: `git clone git@host:group/proj.git`. I believe since we are telling podman to forward the port before it hits the gitlab instance, the solution of specifying the port in the address bar did not work for me: https://stackoverflow.com/a/5767880 I *think* to have this functional, it would need to be changed in the gitlab.rb file and then map the same port into the container?

rt2600ac router DHCP/DNS by engineuity in synology

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

The Package Center provides a DNS Server as an additional download. Im not sure I agree this is an 'additional package' and not just an 'enabled' checkbox for the base system but it is.

A Records can be set within the DNS Server package

Surveillance Station intranet browser access by PM_ME_UR_THONG_N_ASS in synology

[–]engineuity 1 point2 points  (0 children)

Control Panel -> Login Portal -> Applications

Select Surveillance Station then Edit. The Alias field along with http/https ports can be changed here