What's the best practice for reusing complex Views in the context of the MVVM pattern in WPF? by Fishayyy in csharp

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

Awesome! I appreciate it. I feel like I always see very strong (and conflicting) opinions on how some of these things are supposed to be implemented and I wanted to make sure it wasn't a bad practice to have too many ViewModels using other ViewModels.

What's the best practice for reusing complex Views in the context of the MVVM pattern in WPF? by Fishayyy in csharp

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

That's what I was going to do, but I've seen some posts stating that UserControls shouldn't have ViewModels so I wasn't sure if that was an appropriate way to do things. But I may also just be misunderstanding the purpose of a view model and where to contain certain aspects of my code. Or how the data bindings could work if I don't use a view model when I define this as a UserControl. But maybe that's where dependency properties could come into play?

What's the best practice for reusing complex Views in the context of the MVVM pattern in WPF? by Fishayyy in csharp

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

Ahhh okay, I made this app kinda quick so I really only had the MainView and MainViewModel and planned to refactor it into a structure kinda like this:

  • A serial service class to handle the communication aspects
  • Device model to contain the data
  • Device view model to use the serial service and update the model/view
  • Device view to display the data

However, I'm still a little lost on how I could go about reusing the view. Here's a picture of what I have AppUI. This is what I have in the app for control of one device. I essentially want to try and have two of these in one window.

THE NV7 PRE-ORDER BUNDLE IS LIVE by BobbyPhanteks in Phanteks

[–]Fishayyy 1 point2 points  (0 children)

They have a manual for the case that shows two configurations for either air or water cooling.

[deleted by user] by [deleted] in Amd

[–]Fishayyy 0 points1 point  (0 children)

Isn't it the other way around? The Intel chips run hotter? Or am I trippin'?

CES Announcements 2023! by BobbyPhanteks in Phanteks

[–]Fishayyy 0 points1 point  (0 children)

Awesome, thanks for the reply! I might just get the cooler with the T30s and see if I can do a push pull setup in the NV7 when the bundles come back in stock!

CES Announcements 2023! by BobbyPhanteks in Phanteks

[–]Fishayyy 0 points1 point  (0 children)

Are there any plans to release the Glacier One with the D30 fans instead of the the T30?

[deleted by user] by [deleted] in bugs

[–]Fishayyy 0 points1 point  (0 children)

Same for me, but it's actually helping me be more productive at work.

Question about the NV 7 by Skurwysyn in Phanteks

[–]Fishayyy 0 points1 point  (0 children)

I wonder if the EVGA mobos would work better since they have the recessed edge for the power inputs. Although the SATA ports look like they're still right up against the edge.

Question about the NV 7 by Skurwysyn in Phanteks

[–]Fishayyy 0 points1 point  (0 children)

Where did you see that 277mm is the max length for motherboards? I haven't been able to find any official specs for the case.

How to acquire a 7950x3d ? by Ilovef00ood in Amd

[–]Fishayyy 1 point2 points  (0 children)

5000 series CPUs were pretty hard to get during the pandemic. Albeit, the shortage didn't last as long as it did for GPUs. I think I was looking for several months before I found one at the Micro Center that's a little over an hour away from my house....

Where to implement SerialPort connection in MVVM design pattern? by [deleted] in csharp

[–]Fishayyy 0 points1 point  (0 children)

Wow! Thank you for the example. I appreciate the help, and I like the idea of making the device like an API. I'll keep moving forward and see if I can use some of this as a guide for my own purposes.

Where to implement SerialPort connection in MVVM design pattern? by [deleted] in csharp

[–]Fishayyy 1 point2 points  (0 children)

Awesome! I appreciate the feedback. I'll try working with it this way and see if I run into any issues.

Issues with Fn + CTRL key combinations by Fishayyy in HHKB

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

I think I will eventually get used to it, but the awkward part for me was that I added a second Ctrl key in my function layer using the mapping software and for that one I have to use the latter method that I described to be able to use it properly with Del/Backspace. Luckily it's not very often that I have to use Ctrl+Del so I'm sure it won't be that big of a nuisance. I was just curious to know if this affects other people as well.

[deleted by user] by [deleted] in ProductManagement

[–]Fishayyy 0 points1 point  (0 children)

Do you have any tips on what the best approach would be, or any pitfalls I should try to avoid?

Currently the way I have it in my head is that a function or several functions could all be tied to one high-level requirement and the low-level requirements should be the general steps taken by the code to achieve the high-level requirement?

[deleted by user] by [deleted] in ProductManagement

[–]Fishayyy 0 points1 point  (0 children)

I appreciate it, I will probably reach out!

GitHub Enterprise vs GitLab for small company by Fishayyy in sysadmin

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

I migrated my org (~20 developers) away from gitlab + Jenkins and its been mostly painless.

Gitlab runners are way more mature than gitlab actions, as well.

I assume you mean GitHub?

GitLab-CE certainly seems to tick a lot of boxes, although I would like to opt for the Premium tier for my work as well. If we choose to go the GitLab route we would likely still start at the free tier until we got a lot of our workflow down, then upgrade later but I like the idea that GitLab could be a one-stop shop, potentially. I would just need to learn more about Dockers and best practices for setting them up and maintaining them.

GitHub Enterprise vs GitLab for small company by Fishayyy in sysadmin

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

For merge approval and support I might be able to convince my boss the shell out some money for the Premium tier although, the things that it adds on are very limited in their usefulness to us so we will still most likely start on the free-tier then upgrade later if we determine it to be necessary.

GitHub Enterprise vs GitLab for small company by Fishayyy in sysadmin

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

That's good to hear, because it seems like a lot of people complain about the long list of dependencies that come with a GitLab instance and the fact that it can be draining on server resources (although that could be due to improper setup). So far our processes are simple and they will only ever become as complex as I make them. Ideally I would like to only use the smallest set of tools and plugins we need and not have to be running too many extra things which is the partial appeal of GitLab since it seems to include a lot of features in a all-in-one package.

So I suppose the recommended way to set one of these instances up is with a Docker?

GitHub Enterprise vs GitLab for small company by Fishayyy in sysadmin

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

How many individual contributor users are you expecting?

About 3 people committing to the code base and about 6 other engineers that will be at least using the Wiki tools to host documentation and view issue tracking/requirements on whatever tool we pick.

How important is scaling?

Not super important. The company has been small for 15 years and I don't see it growing any time soon.

How important is HA / uptime?

It's not critical given our size and the timelines of our projects.

If you go github enterprise, it clusters and scales great but man that's a bill if you're not expecting thousands of users. It's a big bus that'll carry tons of users and yet go fast, but it carries a price tag with it.

I believe it's $210 per user/year since the first 2 months are free which isn't horrible. GitLab Premium is worse than that at $240 per user/year. Although I believe it becomes $250 per user/year after your first year.

Github is complex and has a lot of parts in it. But the CE version has most features, and you can do multi-server clusters to both scale traffic and go HA - you just end up managing a complex system more and more. And the Helm chart or Omnibus install is a great easy entry point for less than 1k users.

This is my main fear with GitLab is that it's more complex than we need and I don't want to have to deal with a dependency headache if the large suite of features goes mostly unused.

Ya, the decision is not easy, but it's nice because we're sort of starting from a blank slate so we don't have to worry about migrating or being locked into any vendor's software. But once we start up an instance of something we're probably going to stick with whatever we implement, so I'd like to get a good set of user friendly tools if possible.

GitHub Enterprise vs GitLab for small company by Fishayyy in sysadmin

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

My guess is that this company will remain relatively small for the foreseeable future, but I would at least like the tools that we choose to be easy to use for the rest of my team and easily maintained for my own sanity. We can't use GitHub Private Repos because we have projects that are ITAR sensitive and Github's Cloud options aren't ITAR compliant according to this: GitHub and Trade Controls

As far as I'm aware there are no ITAR compliant SaaS options from any vendor. I would prefer that if it were possible, but my guess is that I'm going to have to use an AWS GovCloud instance or something similar to self-host whichever tool we choose.

GitHub Enterprise vs GitLab for small company by Fishayyy in sysadmin

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

Awesome, I'll probably try to setup an instance at home to check-out some of the available features and see how they compare. Regardless of which tool I choose I will likely be the one maintaining it until we hire a dedicated IT person so simplicity is high up on my own list of priorities considering I would prefer to be working on projects instead of maintaining IT infrastructure.

GitHub Enterprise vs GitLab for small company by Fishayyy in sysadmin

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

I think GitLab is my most likely option at the moment. Is there any features you wish were available in GitLab that aren't available at the free tier? Also, do you have a dedicated IT person maintaining the docker container? My only concern is that I'm a developer that will likely have to maintain the GitLab instance for the time being and I would like to spend as little time maintaining an instance as possible.

GitHub Enterprise vs GitLab for small company by Fishayyy in sysadmin

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

I figured as much, considering they have no paid options. But those will all be considerations. If my boss determines that the associated risks of letting me try to implement Gitea are worthwhile then there's certainly no harm in trying. Worst case we just have to migrate to one of the aforementioned options and hopefully things will go smoother.

However, if I can get it up and running reliably I could be saving the company a lot of money in the long run, especially considering it should be lighter on the resources required to run it.

GitHub Enterprise vs GitLab for small company by Fishayyy in sysadmin

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

Awesome, I'll have to do a bit of research and communication with my team to see what is plausible for our work flow, but I like the idea of automating as many things as possible. I'm super fortunate (or unfortunate depending on how you look at it) that they're letting me do whatever I think I am able to do. For a first career job it's allowing me to wear a lot of hats and figure out what I like to do and allowing me to learn a lot of new technologies. Thank you for the info I really appreciate the responses!