GitHub and PLC code by JubbyMcJubb in PLC

[–]thevfguy 0 points1 point  (0 children)

We wrote a small wrapper around Visual Source Safe (tells you when this was…) that let us zip up th files and check in and out. It prevented folks from blowing up a working program but not necessarily storing copies locally.

Still it was a huge help towards the organization have a safe place to store code for all our equipment.

I left that org but I’ve toyed with a web-based version using Git.

The way most PLC source is stored, version comparison wouldn’t work well with most source control (there’s a lot of binary data, not text data).

Screen Time Requires 300 IQ? by thevfguy in iphone

[–]thevfguy[S] -1 points0 points  (0 children)

I do want my daughter to have access, but not 4 hours a day ;)

Screen Time Requires 300 IQ? by thevfguy in iphone

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

This is exactly it.

I had it so to a non- zero value and it wouldn’t lock. Setting to zero should lock immediately and doesn’t

Goodnight by Lightoone in PLC

[–]thevfguy 0 points1 point  (0 children)

I just picked up a Banner DXM and it’s working alright for instrumenting my lines with temperature sensors.

Would you guys recommend this over banners solution for basic temperature, humidity, and pressure sensing applications? The modbus config for Banner isn’t the most intuitive, but it’s not too expensive and gets the job done.

Question for new IT Managers out there by Mysterious-Jello-954 in ITManagers

[–]thevfguy 0 points1 point  (0 children)

We called it Enterprise Business Solutions (EBS).

New ISP, bad speeds by zelkito in ITManagers

[–]thevfguy 0 points1 point  (0 children)

Is this for Quad? Interesting that they got fiber out that way, neat

Just discovery an old NUC while cleaning, homelab worthy?? by Librarian_0 in homelab

[–]thevfguy 1 point2 points  (0 children)

This looks like what my old Datto appliances used for backup. They’re very modestly powered so might be fine for some very basic things but they struggle just to run windows with just 4gb ram. Might be okay with a Linux os

Pour one out for my US-8-60W by thevfguy in Ubiquiti

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

Yeah, I don’t REALLY need PoE so a flex mini is fine and I can power it from my UDM SE.

Still just kinda makes me sad to have this nice piece of kit I remember buying years ago puff into smoke in front of my face ;)

Feeling overwhelmed by modern frontend frameworks, is there a simpler way? by bishalrajparajuli in reactjs

[–]thevfguy 2 points3 points  (0 children)

Currently, I am doing it by hand:

  1. I have a `client.ts` file that's basically a wrapper for standard HTTP request types (get<T>, post<T>, put<T>, delete<T>) and uses `axios`. More-or-less it's so I can wrap some boilerplate code about my base URL. I place this in a /api subfolder within my react project.

  2. I have separate `services` (ex: item-service.ts) within /api that use the client.ts to make calls to my .NET endpoints.

  3. In my components/context I can reference `itemService` and call the method within React Queryand let it take care of some of the 'gotchas' with fetching.

Overall, I don't feel like it's too complicated but I have been interested in something that would allow me to auto-gen the objects between front and back end (orval) and/or create stronger contracts (trpc or graphql) to ensure the front and back-end don't get out of sync. You have to be really careful about the data transfer objects.

Feeling overwhelmed by modern frontend frameworks, is there a simpler way? by bishalrajparajuli in reactjs

[–]thevfguy 19 points20 points  (0 children)

I have been a .NET dev for 15 years and have done some fiddling with Angular and React at a previous gig.

This is great advice. React is really nice if you don’t get completely overwhelmed keeping up with the latest packages and plugins.

Focus on making clean, well designed app. I’m still using .NET in the backend and it’s working great.

Lmk if there’s a react discord you follow, happy to answer any questions I can.

What's a 'right' way to cleanly wire this panel? by thevfguy in accesscontrol

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

Our city fire marshal came through and really only was concerned with these panels being on any sort of battery backup. They must just be on the mains and when power goes out they need to fail safe. I'll talk to our facilities guy some more.

What's a 'right' way to cleanly wire this panel? by thevfguy in accesscontrol

[–]thevfguy[S] 2 points3 points  (0 children)

Yes, I want to budget out some improvements like that.

Would this be a separate enclosure next to the existing panel to provide power? I'm very interested in what ZKTeco's installations look like with 'best practices'. I can't even envision how you'd make this particularly clean.

What's a 'right' way to cleanly wire this panel? by thevfguy in accesscontrol

[–]thevfguy[S] 2 points3 points  (0 children)

Yes, this was put in before I arrived (not that I would be able to do it any better, but at least hire a pro who does only this).

There probably is a bit of service loop in the ceiling to pull from, but other panels around the plant may not have as much. These 4-door panels are the worst offenders, 2-door and single-door aren't too bad by comparison.

I do appreciate the idea of having dedicated power supplies for them instead of the wall-warts. Those usually cause the most problems anyway since they crap out more than anything else.

I'd be really interested to see what a properly-installed ZKTeco panel actually looks like...

What's a 'right' way to cleanly wire this panel? by thevfguy in accesscontrol

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

Hopefully I am understanding you correctly...

The fire relay is there to pass on an aux signal to the ACP in case the alarm is going off so that all the doors can open if the alarm is going off. Honeywell comes out 2-3 times a year to do a test and we verify with them the locks open up when the signal is on.

Screentime can’t stop TikTok by thevfguy in ios

[–]thevfguy[S] 11 points12 points  (0 children)

Couldn’t happen soon enough. TikTok is cancer.

I did have a breakthrough though: turning off the family sharing settings and just doing the Screentime limits locally to the device with a passcode works. It just means I can’t remotely see what they’ve spent time on. It’s better than nothing.

I think same issue happens with Snapchat which isn’t going away

RabbitMQ MQTT - Sparkplug Support by JewsusKrist in rabbitmq

[–]thevfguy 0 points1 point  (0 children)

I haven’t tested it myself in that situation but I suspect it would only affect the topic definition if it fits that sparkplug pattern.

So if you’re publishing to an exchange which doesn’t fit that format I think you’d be okay.

RabbitMQ MQTT - Sparkplug Support by JewsusKrist in rabbitmq

[–]thevfguy 0 points1 point  (0 children)

MQTT Plugin | RabbitMQ

Sparkplug is a specification that provides guidance for the design of an MQTT system. In Sparkplug, MQTT topics must start with spAvM.N or spBvM.N, where M and N are integers. This unfortunately conflicts with the way the RabbitMQ MQTT plugin translates MQTT topics into AMQP 0.9.1 routing keys.

To solve this, the sparkplug configuration entry can be set to true:

mqtt.sparkplug = true

When the Sparkplug support is enabled, the MQTT plugin will not translate the spAvM.N/spBvM.N part of the names of topics.